Description
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.
Installation
- Download the plugin folder.
- Upload the folder to your WordPress
wp-content/plugins/
directory. - In the WordPress Dashboard, navigate to Plugins > Installed Plugins and activate the “Temporary Role Switcher” plugin.
FAQ
-
Can I use this plugin to test other roles on my site?
-
Yes, this plugin allows administrators to temporarily switch to any role available on your site for testing or development purposes.
-
How do I revert back to the admin role?
-
After switching roles, a floating button will be available (both in the admin bar and on the frontend) for you to click and revert back to the Administrator role with a single click.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Temporary Role Switcher” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Temporary Role Switcher” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.3
- Fix Permission issue
1.0.2
- Renamed internal functions and variables for enhanced security.
- Improved nonce verification for safer role switching.
- Refined AJAX and SweetAlert integration for a smoother user experience.
- Minor bug fixes
1.0.1
- Initial release featuring AJAX-driven role switching and SweetAlert confirmation dialogs.