Title: Melmium
Author: Takashi Ito
Published: <strong>2026 年 4 月 5 日</strong>
Last modified: 2026 年 4 月 5 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/melmium.svg)

# Melmium

 作者：[Takashi Ito](https://profiles.wordpress.org/itokuchen/)

[下载](https://downloads.wordpress.org/plugin/melmium.1.0.3.zip)

 * [详情](https://cn.wordpress.org/plugins/melmium/#description)
 * [评价](https://cn.wordpress.org/plugins/melmium/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/melmium/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/melmium/#developers)

 [支持](https://wordpress.org/support/plugin/melmium/)

## 描述

Melmium provides custom authentication pages for building a membership site on WordPress.
It replaces the default wp-login.php flow with theme-integrated pages for registration,
login, and password reset.

**Features:**

 * Custom authentication pages (register, login, logout, password reset)
 * Email-based registration flow with token verification
 * Template override support — customize templates in your theme’s `auth/` directory
 * Google reCAPTCHA Enterprise integration (optional)
 * Configuration via `wp-config.php` constants (no settings page required)

**日本語:**

Melmium は WordPress で会員制サイトを構築するためのプラグインです。カスタム認証ページ（
会員登録・ログイン・パスワードリセット）を提供し、テーマ側でテンプレートを自由に
カスタマイズできます。

### External Services

This plugin optionally connects to the **Google reCAPTCHA Enterprise** service for
bot detection on authentication forms (registration, login, and password reset).

**When data is sent:** When the `MELMIUM_RECAPTCHA_ENABLED` constant is set to `
true` in `wp-config.php`, a reCAPTCHA token is sent to Google’s servers each time
a user submits an authentication form.

**What data is sent:** The reCAPTCHA token generated by the user’s browser and the
site key configured for your project.

**Service provider:** Google LLC

 * [Google reCAPTCHA Terms of Service](https://policies.google.com/terms)
 * [Google Privacy Policy](https://policies.google.com/privacy)

If reCAPTCHA is not enabled (default), no data is sent to any external service.

## 安装

 1. Upload the `melmium` folder to the `/wp-content/plugins/` directory, or install
    the plugin through the WordPress plugins screen.
 2. Activate the plugin through the “Plugins” screen in WordPress.
 3. Ensure that **Pretty Permalinks** are enabled (Settings > Permalinks — choose any
    structure other than “Plain”).
 4. The plugin automatically creates an authentication page and registers URL rewrite
    rules on activation.
 5. Optionally, add configuration constants to your `wp-config.php` to customize behavior(
    e.g., `MELMIUM_RECAPTCHA_ENABLED`, `MELMIUM_REDIRECT_AFTER_LOGIN`).

## 常见问题

### Is this plugin free?

Yes. Melmium is free and open-source under the GPLv2 license.

### Does this plugin send data to external servers?

By default, no. However, if you enable Google reCAPTCHA Enterprise (`MELMIUM_RECAPTCHA_ENABLED`),
form submissions will send data to Google’s reCAPTCHA API for bot detection.

### Why do I need Pretty Permalinks?

Melmium uses WordPress rewrite rules to map authentication URLs (e.g., `/login`,`/
register`). These rules require Pretty Permalinks to be enabled. The plugin will
display an admin notice if Plain permalinks are detected.

### How do I customize the authentication templates?

On activation, the plugin copies default templates to your theme’s `auth/` directory.
You can edit these template files directly in your theme to customize the look and
behavior of each authentication page.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Melmium」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Takashi Ito ](https://profiles.wordpress.org/itokuchen/)

[帮助将「Melmium」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/melmium)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/melmium/)，查看[SVN仓库](https://plugins.svn.wordpress.org/melmium/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/melmium/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/melmium/)。

## 更新日志

#### 1.0.3

 * Renamed JavaScript global variables to use `melmium_` prefix to avoid conflicts
   with other plugins

#### 1.0.2

 * Fixed reCAPTCHA library script version argument (null to MELMIUM_VERSION)
 * Fixed Plugin Check reported issues
 * Improved .DS_Store exclusion pattern to cover all subdirectories

#### 1.0.1

 * Security improvements: added nonce verification, input sanitization, and output
   escaping
 * Added direct file access protection to template files
 * Added third-party service disclosure for Google reCAPTCHA Enterprise
 * Renamed constants and classes to use `melmium` prefix (4+ characters)

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**2 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.9 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/melmium/)
 * 标签
 * [authentication](https://cn.wordpress.org/plugins/tags/authentication/)[login](https://cn.wordpress.org/plugins/tags/login/)
   [membership](https://cn.wordpress.org/plugins/tags/membership/)[password reset](https://cn.wordpress.org/plugins/tags/password-reset/)
   [registration](https://cn.wordpress.org/plugins/tags/registration/)
 *  [高级视图](https://cn.wordpress.org/plugins/melmium/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/melmium/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/melmium/reviews/)

## 贡献者

 *   [ Takashi Ito ](https://profiles.wordpress.org/itokuchen/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/melmium/)