這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Plainview Protect Passwords

描述

Prevent password resets or changes to specific users or user roles. User-specific exceptions to the sweeping user roles can be set. The user’s password is then protected from modification:

  • In the user’s profile editor
  • Using the password reset link in the login window

The settings are available to either the super admin on the network, or normal admins on a single installation. If you wish to hide the settings completely, put the following in your wp-config.php:

define( 'PLAINVIEW_PROTECT_PASSWORDS_HIDE', true );

Requires PHP 5.4.

螢幕截圖

  • Settings page
  • The admin user's password has been protected from reset

安裝

  1. Check that your web host has PHP v5.4.
  2. Activate the plugin locally or for the network. The latter option is necessary for the plugin to work on network installations.
  3. Visit either Admin > Options > Protect Password, or Network admin > Settings > Protect Password, depending on your installation.

常見問題

When does the plugin protect my installation?
  • If crackers have access to your e-mail but not your WordPress login.
  • You do not want to be bothered by people abusing the “reset password” function for your account.
I’ve forgotten my admin password. How do I get a new one?

The easiest thing to do is rename the plugin’s directory. This will disable the plugin and allow you to reset your admin password.

You can edit the database, but that’s far more difficult than a simple directory rename.

評價

2018年8月23日
Used it to prevent certain users to login. Thank you!
2017年6月30日
I love that is works well with network sites so I don't have to replicate my settings across each of my sites. The only issue I ran into is that only network roles are added to the network settings. Maybe it's by design, but it would be awesome if it picked up the roles from the sites because that is where plugins like User Role Editor and WooCommerce have registered them. In order to protect these I would have to modify the settings for each of my network sites separately. Annoying but totally doable. Thanks for the quick and easy solution today!
閱讀全部2個評價

貢獻者及開發者

“Plainview Protect Passwords” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Plainview Protect Passwords 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.4 20181115

  • Dev: Added plainview_protect_passwords_pre_save_settings and plainview_protect_passwords_post_save_settings actions as per request from https://wordpress.org/support/topic/hooks-27/

1.3 20180815

  • Fix: Admins are allowed to change the passwords of protected users.

1.2 20170920

  • Fix: Removed warning about “Declaration of plainview\protect_passwords\traits\protection::get_user_capabilities”.

1.1 20170602

Tested with WordPress v4.8

1 20150617

  • Inital release