| 开发者 | watrix |
|---|---|
| 更新时间 | 2026年7月2日 15:56 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp-content/plugins/watrix-login-as-user/ or install it from the WordPress plugin directory.Only users who are administrators AND have the manage_options capability (manage_network_users on multisite). The capability is re-checked on every switch and on every restore.
No. Switching uses WordPress' own authentication cookies (wp_set_auth_cookie). No password is ever read, written or transmitted by this plugin.
The impersonation cookie is cleared on deactivation, so the next request will not sit on a stale impersonation state.
In a single wp_options row (watrix_lau_audit_log), capped at the most recent 200 entries. Uninstalling the plugin removes this option completely.
watrix-user-switching to watrix-login-as-user to avoid confusion with the existing User Switching plugin.WATRIX_LOGIN_AS_USER_*, WATRIX_LAU_*, watrix_login_as_user_*, watrix_lau_*, WatrixLoginAsUser\, watrix_lau_original, watrix_lau_audit_log, ?watrix_lau=...).watrix-login-as-user-ja.po/.mo.load_plugin_textdomain() call (WP 4.6+ auto-loads translations for WP.org-hosted plugins).$watrix_lau_option_name, $watrix_lau_site_ids, $watrix_lau_site_id)./* translators: */ comments to be immediately adjacent to the __() call.admin_init and admin-notice dispatchers (read-only status checks; the actual state-changing actions still verify nonces)..distignore so .git, .gitignore, README.md and .DS_Store are excluded from the distribution ZIP.uninstall.php to fully remove the audit-log option on plugin deletion (S-6).<tr> injection (L-4)./* translators: */ placeholders (L-1).