Linux 软件免费装
Banner图

WPZOOM User History - Lock Users & Change Usernames

开发者 wpzoom
更新时间 2026年3月5日 17:17
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

audit log user tracking change username user log user history

下载

1.2.0 1.1.1

详情介绍:

User History tracks all changes made to user profiles and displays a complete history log on the user edit page. It also lets admins lock or unlock user accounts, change usernames, monitor login/logout activity, manage active sessions, and search for users by their previous details. Profile Change Tracking: Login & Session Monitoring: Lock/Unlock User Accounts: Admin Tools: Privacy & Compliance: Compatibility: Use Cases:

安装:

  1. Upload the wpzoom-user-history folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Visit any user's edit page to see their Account History section

屏幕截图:

  • Lock/unlock user account from the user edit page

常见问题:

Where can I see the user history?

Go to Users > All Users, click on any user to edit their profile, and scroll down to the "Account History" section.

How do I change a username?

On the user edit page, click the "Change" link next to the username field. Enter the new username and click "Change" to save.

Does this plugin store passwords?

No. The plugin only logs that a password was changed, along with the date and who changed it. No password values (hashed or otherwise) are ever stored.

Can I search for users by their old email?

Yes! On the All Users page, use the search box to search for any previous email, username, or name. Users who previously had matching values will appear in the results.

What user fields are tracked?

  • Username (user_login)
  • Email (user_email)
  • Password (change event only)
  • Display Name
  • Nicename
  • Website URL
  • First Name
  • Last Name
  • Nickname
  • Biographical Info
  • Role (including multiple roles with Members plugin)

Is this plugin multisite compatible?

Yes. The plugin works on multisite installations and properly handles super admin username changes.

Does it work with the Members plugin?

Yes. The plugin correctly tracks role changes when using the Members plugin, which allows assigning multiple roles to users.

How do I lock a user account?

There are several ways to lock a user:

  1. User edit page - Go to a user's profile and click "Lock Account" in the Account Status section
  2. Row action - Hover over a user on the All Users page and click "Lock"
  3. Bulk action - Select multiple users on the All Users page, choose "Lock" from the Bulk Actions dropdown, and click Apply
Locked users are logged out immediately and cannot log back in until unlocked.

What happens when a user is locked?

  • All active sessions are destroyed immediately
  • The user cannot log in via the login form
  • Application password authentication (REST API, XML-RPC) is blocked
  • A customizable error message is shown on the login screen
  • WP-CLI access is still allowed so admins can manage the account

How do I customize the locked account message?

Go to Settings > User History. You can set a custom message that locked users will see when they try to log in. Leave it empty to use the default message.

How do I clear a user's history?

On the user edit page, scroll down to the Account History section and click the "Clear Log" button. To clear all logs for every user at once, go to Settings > User History and click "Clear All Logs".

How do I control how long logs are kept?

Go to Settings > User History. Under "Data Retention", set the number of days to keep logs (default: 30). Old logs are automatically deleted daily. Set to 0 to keep logs indefinitely.

Can I see when users log in and out?

Yes! The Account History section on each user's edit page has a "Logins" tab that shows all login events, logouts, and failed login attempts with timestamps, IP addresses, and browser information.

How do I view a user's active sessions?

On the user edit page, scroll down to Account History and click the "Sessions" tab. You can see all active sessions including login time, IP address, browser, and when each session expires. Click "Log Out Everywhere" to destroy all sessions.

Can I disable IP address tracking?

Yes. Go to Settings > User History and uncheck "Record IP addresses" under the Privacy section. This helps with GDPR compliance.

I was using the Lock User Account plugin. Will my locked users be migrated?

Yes. When you activate User History, any users locked with the Lock User Account plugin will be automatically migrated to the new lock system.

更新日志:

1.2.0 1.1.1 1.1.0 1.0.3 1.0.2 1.0.1 1.0.0