| 开发者 | whitedd |
|---|---|
| 更新时间 | 2026年9月2日 16:31 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
dd_switch_users capability.
The plugin uses opaque per-session switch tokens, server-side transient state, nonce-protected switch and return actions, strict target validation, safe redirects, and cleanup on logout. It blocks nested impersonation and protects multisite super administrator accounts.
The plugin does not send data to external services and does not include telemetry, advertising, or remote code.
dd-login-as-user folder to /wp-content/plugins/.dd_switch_users capability on activation.Only users with the dd_switch_users capability can start a switch session. The plugin adds that capability to the administrator role on activation.
On single-site installs, administrator-to-administrator switching is blocked by default. Developers can opt in with the dd_login_as_user_allow_admin_target filter.
The default timeout is 60 minutes. It can be adjusted with the DD_LOGIN_AS_USER_TIMEOUT constant or the dd_login_as_user_timeout filter.