Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Plainview Protect Passwords

Mô tả

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.

Ảnh màn hình

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

Cài đặt

  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.

Hỏi đáp

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.

Đánh giá

22 Tháng Năm, 2023
Fatal error: During class fetch: Uncaught ParseError: syntax error, unexpected token "readonly", expecting identifier PHP Version 8.1
23 Tháng Tám, 2018
Used it to prevent certain users to login. Thank you!
30 Tháng Sáu, 2017 1 reply
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!
Đọc tất cả 3 đánh giá

Người đóng góp & Lập trình viên

“Plainview Protect Passwords” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

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