Title: User Role Switcher
Author: Dhanendran Rajagopal
Published: <strong>25.02.2020</strong>
Last modified: 18.06.2026

---

Поиск плагинов

![](https://ps.w.org/wp-user-role-switcher/assets/banner-772x250.jpg?rev=3576161)

![](https://ps.w.org/wp-user-role-switcher/assets/icon.svg?rev=3576149)

# User Role Switcher

 Автор: [Dhanendran Rajagopal](https://profiles.wordpress.org/dhanendran/)

[Скачать](https://downloads.wordpress.org/plugin/wp-user-role-switcher.0.2.4.zip)

 * [Детали](https://ru.wordpress.org/plugins/wp-user-role-switcher/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/wp-user-role-switcher/#reviews)
 * [Разработка](https://ru.wordpress.org/plugins/wp-user-role-switcher/#developers)

 [Поддержка](https://wordpress.org/support/plugin/wp-user-role-switcher/)

## Описание

This plugin allows you to quickly swap between user roles in WordPress at the click
of a button. You’ll be instantly switched to the new user role. This is handy for
test environments where you regularly log out and in between different accounts,
or for administrators who need to switch between multiple accounts to test the feature
in different user roles.

### Features

 * Switch Role To: Instantly switch to any user role from the admin bar at top.
 * Switch back: Instantly switch back to your originating role.
 * Compatible with WordPress, WordPress Multisite, WooCommerce.

### Security

 * Only users with the ability to edit other users can switch user roles. By default
   this is only Administrators on single site installations, and Super Admins on
   Multisite installations.

### Usage

 1. Once plugin is activated, you will see _Switch Role To_ in the top admin bar.
 2. Clicking this will bring the list of user roles available in the system.
 3. Click on any user role you want to test as.
 4. You can switch back to your originating user role via the _Switch back_ link on
    the top admin bar.

## Отзывы

![](https://secure.gravatar.com/avatar/2acf7e162ff70e4cebef79dfafa97845a8deed68b7f01ed1069e2ba3369f524b?
s=60&d=retro&r=g)

### 󠀁[Great support!](https://wordpress.org/support/topic/great-support-3484/)󠁿

 [SiKth](https://profiles.wordpress.org/sikth/) 02.04.2021 1 ответ

Was asking for a floating button to get back to the admin, got in in a couple of
days. Great plugin! Great support!

![](https://secure.gravatar.com/avatar/57e86f3d0d70e7ce3788a2820a96586ac4e5321a14eb5484a73cfefcc6a1e93d?
s=60&d=retro&r=g)

### 󠀁[Compatible 100% With WP 5.7](https://wordpress.org/support/topic/compatible-100-with-wp-5-7/)󠁿

 [c3media1](https://profiles.wordpress.org/c3media1/) 14.03.2021 1 ответ

Great, i tested and it works non problem with Last Wordpress Version. Good job!

 [ Посмотреть все 2 отзыва ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/)

## Участники и разработчики

«User Role Switcher» — проект с открытым исходным кодом. В развитие плагина внесли
свой вклад следующие участники:

Участники

 *   [ Dhanendran Rajagopal ](https://profiles.wordpress.org/dhanendran/)

[Перевести «User Role Switcher» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/wp-user-role-switcher)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/wp-user-role-switcher/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/wp-user-role-switcher/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/wp-user-role-switcher/)
по [RSS](https://plugins.trac.wordpress.org/log/wp-user-role-switcher/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 0.2.4

 * [Security] Role switching now requires the `promote_users` capability (administrators/
   super admins) instead of `manage_options`, preventing a lower-trust custom role
   granted `manage_options` from self-assigning a higher role such as administrator.

#### 0.2.3

 * [Security] Added a capability check to the role-switch handler so only administrators(
   or an already-switched user switching back) can switch roles.
 * [Security] The «Switch Back» action now verifies its nonce before changing any
   roles.
 * [Security] Escaped role-switch URLs and labels in the admin bar and floating 
   button output.
 * [Security] Hardened the post-switch redirect to a safe, local URL (no longer 
   trusts the host header).
 * [Fix] Replaced the deprecated `FILTER_SANITIZE_STRING` with core sanitization
   for PHP 8.1+ compatibility.

#### 0.2.0

 * [Improvements] Added floating action button when role is switched.

#### 0.1.0

 * Initial release

## Мета

 *  Версия **0.2.4**
 *  Обновление: **5 месяцев назад**
 *  Активных установок: **100+**
 *  Версия WordPress ** 3.7 или выше **
 *  Совместим вплоть до: **7.0.8**
 *  Версия PHP ** 7.4 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/wp-user-role-switcher/)
 * Метки:
 * [role switcher](https://ru.wordpress.org/plugins/tags/role-switcher/)[switch user](https://ru.wordpress.org/plugins/tags/switch-user/)
   [testing](https://ru.wordpress.org/plugins/tags/testing/)[user management](https://ru.wordpress.org/plugins/tags/user-management/)
   [user roles](https://ru.wordpress.org/plugins/tags/user-roles/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/wp-user-role-switcher/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  2 5-звездный отзыв     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/)

## Участники

 *   [ Dhanendran Rajagopal ](https://profiles.wordpress.org/dhanendran/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/wp-user-role-switcher/)