跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Yee Multi-User Account Switcher

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

Yee Multi-User Account Switcher

由 add-ons.org 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

Account Dock lets a signed-in user add other accounts through the normal WordPress login screen, then switch between those verified sessions from the toolbar or account manager.

It is useful for customers, store managers, support teams, editors, administrators, and developers who regularly work with more than one account on the same site.

Main features

  • Add up to five accounts after each account completes the normal WordPress authentication flow.
  • Switch directly from the WordPress toolbar with an avatar, display name, username, and active-account indicator.
  • Return to the same path and query string after switching from the toolbar.
  • Manage accounts on a responsive account page with clear switch and remove actions.
  • Use the [account_dock] shortcode to display a link to the account manager.
  • Show a Manage accounts link on the WooCommerce My Account dashboard when WooCommerce is active.
  • Preserve the Remember Me choice for each saved account.
  • Validate expiration, cookie signatures, user identity, and server-side session revocation before every switch.
  • Revoke a saved session when that account is removed.
  • Revoke all sessions saved by Account Dock on this browser when the user logs out.

Account Dock never stores passwords, creates custom database tables, sends telemetry, or allows switching to an account that has not authenticated on the current browser.

Only one account is active at a time across the site’s tabs. Reload other open tabs after switching. Use separate browser profiles when accounts must remain active simultaneously.

Privacy

Account Dock stores essential browser cookies only after a user explicitly adds an account. The cookies contain WordPress-signed session credentials and a signed Remember Me preference. They are HttpOnly, use SameSite=Lax, and use the Secure flag when the site is accessed through HTTPS.

The plugin does not collect analytics or send account credentials to the plugin author.

Account avatars are rendered through the WordPress get_avatar() function. Depending on the site’s avatar configuration, the visitor’s browser may request an avatar from Gravatar and disclose normal connection information, such as the IP address and browser headers. The avatar URL uses a one-way hash derived by WordPress rather than sending the email address as plain text.

Gravatar service: https://gravatar.com/
Automattic privacy policy, which covers Gravatar: https://automattic.com/privacy/

Site owners should describe Account Dock’s essential cookies and configured avatar provider in their own privacy and cookie notices where required.

Security

Account actions use POST requests and WordPress nonces. Before switching, Account Dock verifies the signed authentication cookie, expected user ID, expiration, and server-side WordPress session token. Removing an account revokes the session token saved for that account.

Account Dock is a convenience tool for authenticated sessions, not an additional authentication factor. Use HTTPS in production and follow normal WordPress account-security practices.

螢幕擷圖

The toolbar account menu with avatars, the active account, saved accounts, and the add-account action.
The toolbar account menu with avatars, the active account, saved accounts, and the add-account action.

安裝方式

  1. Upload the plugin ZIP through Plugins > Add New Plugin > Upload Plugin, or install Account Dock from the plugin directory.
  2. Activate Account Dock.
  3. Sign in to the first account.
  4. Open the account menu in the toolbar and choose Add another account.
  5. Complete the normal WordPress login form for the additional account.
  6. Select an authenticated account from the toolbar or Manage accounts page.

Optional: add [account_dock] to any post, page, or compatible widget area to show a Manage accounts link.

常見問題集

Can Account Dock switch to any site user?

No. An account appears only after it has successfully authenticated on the current browser. Knowing a user ID, username, or email address is not enough to switch to that account.

Does Account Dock store passwords?

No. Passwords are handled by the normal WordPress login flow. Account Dock stores WordPress-signed session credentials in host-only HttpOnly cookies. These credentials are sensitive and should be protected like any logged-in browser session.

What does Remember Me do?

When Remember Me is selected during login, the saved account remains available after the browser closes until its original WordPress session expires or is revoked. Without Remember Me, the saved account uses a browser-session cookie. Browser session-restore features can sometimes preserve session cookies.

Does switching extend the login session?

No. Switching reuses the authenticated session and preserves its original expiration time.

What happens after a password reset or session revocation?

WordPress invalidates the affected session. Account Dock removes an invalid saved account the next time the list is checked.

Does switching ask for two-factor authentication again?

No. Switching reuses a session that already completed authentication. Two-factor authentication, SSO, captcha, custom login, and security plugins should be tested on a staging site because some providers do not use the standard WordPress authentication hooks.

Is it safe on a shared computer?

Anyone who can use the same unlocked browser while its sessions remain valid may switch to any saved account, including an administrator account. Do not save privileged accounts on shared devices. Use HTTPS and sign out when finished.

Does it merge WooCommerce customer data or carts?

No. Account Dock only changes the active WordPress identity. It does not merge carts, sessions, orders, addresses, subscriptions, or checkout data. Test the plugin with the store’s cart, checkout, caching, and session extensions before production use.

Does it support multisite?

Saved account lists are scoped to the current site URL and blog ID. Only members of the current site are accepted. Cross-domain and network-wide account lists are not supported.

What happens when the plugin is removed?

Account Dock creates no custom database tables or options. Sign out of saved accounts before deactivation when possible. Remaining browser cookies and WordPress sessions expire according to their normal session lifetime.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Yee Multi-User Account Switcher〉的開發相關工作。

參與者
  • add-ons.org

將〈Yee Multi-User Account Switcher〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.3.0

  • Initial public release.
  • Add up to five authenticated accounts and switch between valid sessions.
  • Add toolbar and responsive account-manager interfaces with avatars.
  • Preserve Remember Me and the current path and query string when switching.
  • Add WooCommerce dashboard and shortcode entry points.

中繼資料

  • 版本 1.3.1
  • 最後更新 3 天前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 6.8 或更新版本
  • 已測試相容的 WordPress 版本 7.1.3
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    account switcherloginmultiple accountsuser switchingwoocommerce
  • 進階檢視

評分

這個項目尚無任何評論記錄。

撰寫評分

查看全部使用者評論

參與者

  • add-ons.org

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

Taiwan 正體中文

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩