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.
1.4 20181115
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