| 开发者 | ezekielapetu |
|---|---|
| 更新时间 | 2026年11月11日 01:07 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp-content/plugins/ or install it through the WordPress plugin directory at Plugins → Add New.No. Capability filtering happens at runtime through WordPress's user_has_cap filter hook. The filter is only active when the plugin is active and handoff mode is enabled. Deactivating the plugin restores the standard WordPress capability resolution immediately. No data is written to the wp_user_roles option or to user meta.
Four safeguards prevent permanent lockout. First, user ID 1 (the original admin account) is always exempt from all restrictions. Second, users assigned to a role listed under Admin Roles in the Roles tab bypass enforcement entirely; assigning your own role to Admin Roles restores full access. Third, the activate_plugins capability acts as a hard floor: any user who has it in their role's base capabilities is exempt, regardless of other settings. Fourth, WordPress super-admins on multisite are always exempt.
Yes. The two plugins operate through different hooks and address different concerns. Client Handoff provides setup flow, dashboard widget, and JSON export/import. BrenWP Client Safe Mode provides deeper restriction controls. Running both is supported. Verify the role and capability configuration in each plugin does not produce conflicting results for your specific setup.
Deactivating the plugin removes all runtime enforcement immediately: menus reappear, capability filters are gone, and the original WordPress dashboard returns. The saved configuration is preserved in the database so the plugin can be reactivated without reconfiguring from scratch. Uninstalling the plugin (Delete via the Plugins screen) removes the saved configuration, activity log, and developer checklist from the database entirely.
Single-site activation on a multisite network is supported: activate the plugin on a specific site and it works within that site's admin. Network-wide activation (activating from the Network Admin → Plugins screen) is not supported at this version. If network-wide activation is attempted, the plugin detects this and no-ops with an admin notice directing the developer to activate on individual sites instead.