前言介紹
- 這款 WordPress 外掛「Temporary Role Switcher」是 2025-02-06 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2025-02-23,距離現在已有 70 天。
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
ajax | admin role | role switcher | switch user role | WordPress role management |
內容簡介
總結:Temporary Role Switcher 是一款讓管理者安全且暫時地在不同用戶角色間切換的 WordPress 外掛。這款外掛透過更新變數和函數名稱、強大的 nonce 驗證以及現代化的 SweetAlert 對話框提升了安全性。無論您是在不同角色下測試新功能還是排除權限問題,這個外掛讓角色切換變得輕鬆且安全。
問題與答案:
1. Temporary Role Switcher 的功能有哪些?
- 快速切換從您當前的角色到任何其他可用角色。
- 一鍵恢復功能:使用專用的浮動按鈕輕鬆切換回原始的 Administrator 角色。
- AJAX 接口:享受無需完整頁面重載的無縫角色切換體驗。
- SweetAlert 確認:現代、互動式確認對話框有助於防止意外切換。
- 增強安全性:更新函數和變量名稱結合強大的 nonce 驗證使您的外掛代碼更安全且難以模仿。
- 權限前端控制:當角色切換後,浮動操作按鈕將出現在管理介面和前端區域。
2. 如何使用 Temporary Role Switcher?
- 啟用後,在 WordPress 管理工具欄中找到新增的 Admin To 選單。
- 從下拉列表中選擇您想要的臨時角色。SweetAlert 對話框將提示您確認您的選擇。
- 當您的角色切換後,一個浮動按鈕將出現(在管理區域和前端都會),讓您輕鬆恢復為 Administrator 角色。
- 藉由這些功能,享受安全和高效的角色測試並具有完整恢復功能。
3. Temporary Role Switcher 的系統需求是什麼?
- WordPress 5.0 或更新版本。
- PHP 7.0 或更高版本。
原文外掛簡介
Temporary Role Switcher lets administrators safely and temporarily switch between different user roles for testing or development purposes. The plugin now features enhanced security via updated variable and function names, robust nonce verification, and a refined AJAX interface paired. Whether you’re testing a new feature under a different role or troubleshooting permission issues, this plugin makes switching roles effortless and secure.
Features
Temporary Role Switching: Quickly switch from your current role to any other available role.
One-Click Reversion: Easily revert back to your original Administrator role using a dedicated floating button.
AJAX-Powered Interface: Enjoy a seamless role switching experience without full page reloads.
Enhanced Security: Updated function and variable names combined with strong nonce verification keep your plugin code secure and harder to mimic.
Accessible Frontend Controls: A floating action button appears on both the admin and frontend areas when a role has been switched.
Usage
Once activated, locate the Admin To menu added to your WordPress admin bar.
Select your desired temporary role from the dropdown list.
When your role is switched, a floating button appears (both in the admin area and on the frontend) that lets you quickly revert back to the Administrator role.
Enjoy secure and efficient role testing with full reversion capabilities.
Requirements
WordPress 5.0 or later.
PHP 7.0 or higher.
Support & Donations
If you like this plugin and would like to support its development, please consider making a donation. Your support helps keep the plugin updated and maintained.
👉 Donate Here: help.bhandarum.com
License
This plugin is licensed under the GPL-3.0+ license. For more information, please visit https://www.gnu.org/licenses/gpl-3.0.html.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Temporary Role Switcher」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。