WP-Members 3.3.5 ではオプションとして導入されていたいくつかの新機能が、3.4.0 の時点では新規インストールの標準設定になっています。最終的には、バージョン 3.5.0 ではこれらの機能が古い機能を完全に置き換える予定です。

古いバージョンのプラグインを更新して新しいパスワードリセットリンク処理を使用する場合は、こちらの手順に従ってください

原文を見る

WP-Members 3.3.5 introduced some new features as options, which have become the standard setting for new installs as of 3.4.0.  Eventually, in version 3.5.0 these features will replace older functionality altogether.

If you are updating an older version of the plugin to use the new password reset link process, follow the instructions here.

パスワードリセットリンク

この機能はパスワードリセット処理をリンクに置き換えます。ユーザーがパスワードのリセットをリクエストすると、そのユーザーに電子メールでリンクが送信されます。ユーザーがリンクをクリックしてパスワードリセット処理を有効化にすると、パスワード変更フォームが表示されます。

リセット用のリンクは 24 時間で期限切れになり、そうなるとユーザーは再度リセットを試みる必要があります。

プラグインのバージョン 3.4.0 ではこの機能は標準設定です。新規インストールした場合は有効にするために何もする必要はありません。古いバージョンのプラグインからアップグレードする場合はメインオプションタブの「新機能設定」で従来のパスワード リセット設定を無効にする必要があります。プラグインのバージョン 3.5.0 では現在のパスワードリセット処理(新しいパスワードを送信する) が完全に削除されます。

古いバージョンのプラグインを更新して新しいパスワードリセットリンク処理を使用する場合は、こちらの手順に従ってください

原文を見る

This feature replaces the password reset process with a link. When the user requests a password reset, a link will be emailed to the user. When the user clicks the link to activate the password reset process, they are directed to a password change form.

The reset link expires in 24 hours, at which point the user would need to attempt another reset.

As of plugin version 3.4.0, this feature is the standard setting. On a new install, you don’t need to do anything to enable it. If you are upgrading from an older version of the plugin, you need to disable the legacy password reset setting in the main options tab under “New Feature Settings”. In plugin version 3.5.0, the current password reset process (that sends a new passwords) will be removed completely.

If you are updating an older version of the plugin to use the new password reset link process, follow the instructions here.

追加で必要な設定

パスワードリセットリンク オプションでは、フォーム内の特定のメッセージ処理に WPログインエラーオブジェクトを使用します。バージョン3.4.0 だとこれは既定で有効になっていますが、「新機能設定」で変更できるためセットアップで「古いログインエラー」が有効になっていないことを確認してください(詳しくは後述する 「WP ログインエラー」を参照してください)。

必要に応じてパスワードリセット用の電子メールを編集することをお勧めします。パスワードリセット処理では電子メールの下部にアクティベーションリンクが自動的に含まれます。リンクを配置する場所をカスタマイズしたい場合は、メール内で ショートコード [reset_link]を使用します。(パスワードを含めるショートコードなど、従来のパスワードリセット処理の実装はもう無効になっているため削除する必要があります。)

さらに、パスワードリセットURLを完成させるにはユーザープロフィールURL のプラグイン設定を行う必要があります。ユーザープロフィールURLはユーザーが新しいパスワードを作成するために誘導される場所であるため、この設定が必要です。これを設定しないと電子メール内の URL は不完全になり、実際にパスワードをリセットできるページにユーザーが誘導されたりされなかったりする可能性があります。ユーザープロフィールURLは [wpmem_profile] もしくは [wpmem_form password] を含むページでなければなりません。(詳細は「ユーザープロフィールURL」設定 や ショートコード [wpmem_profile]に関するドキュメントを参照してください。)

原文を見る

The password reset link option uses the WP login error object for specific messaging in the form. As of 3.4.0, this is enabled by default, but it can be changed in the “New Feature Settings” so make sure “Legacy Login Error” is not enabled in your setup. (see “Enable WP Login Error” below).

It is recommended that you edit the password reset email accordingly. The process will automatically include the activation link at the bottom of the email. If you want to customize where the link is placed, use the [reset_link] shortcode in the email. (You should remove any elements of the legacy process, such as the shortcode to include a password, since this is no longer valid.)

Additionally, in order for the password reset URL to be complete, you need to have set the plugin setting for the User Profile URL as this is where the user is going to be directed in order to create a new password.  Without setting this, the URL in the email will be incomplete, and you may or may not direct the user to a page where the password can actually be reset.  It must be a page that contains the [wpmem_profile] or [wpmem_form password] URL.  (See documentation about the “User Profile URL” setting and about the [wpmem_profile] shortcode.)

WP ログインエラー

この機能は、WP-Members ログインエラーメッセージを、WP ログインエラーメッセージオブジェクトに含まれるものに置き換えます。メッセージの形式は同じです–。WP-Members div タグは引き続き使用されます。唯一の違いはメッセージ処理が少し違うことです。

この変更の主な理由は、WP-Members が最初に導入された時は (はるか昔、2005 年から 2006 年にかけて)、追加のログイン認証の組み込みがあまり行われていなかったことです。しかしそれは大きく変わりました。現在では多くの人がキャプチャなどの追加認証や、ログインエラーにカスタムメッセージを追加するブルートフォースログインブロッカーを使用しています。以前はこれらを適用するにはカスタムコードスニペットを実装する必要がありました。

バージョン 3.4.0 ではこれが標準設定です。WP-Membersを新規インストールした場合は、特に何もする必要はありません。アップグレードをした場合は、新しい設定に移行する準備ができるまで従来のログイン エラー メッセージを有効にすることができます。 ただし、プラグイン バージョン 3.5.0 では従来の設定が利用できなくなるため、早めに移行を行うことをお勧めします。

原文を見る

This feature replaces the WP-Members login error message with what is contained in the WP login error message object. The formatting of the message is still the same – the WP-Members div tag is still used.  The only difference is that messaging is slightly different.

The primary reason for this change is that when WP-Members was first introduced (ages ago, back in 2005/06), there wasn’t much in the way of additional login authentication integration. But that has changed drastically.  So many people now use additional authentication such as captchas, or brute force login blockers that all add custom messaging to the login error. In order to apply those in the past, you needed to implement a custom code snippet.

As of version 3.4.0, this is the standard setting. If you are setting up a new install, you don’t have to do anything. If you are upgrading, you can enable the legacy login error message until you are ready to shift over to the new setting. However, I recommend doing it sooner rather than later as the legacy setting will no longer be available as of plugin version 3.5.0.