User Switching

Wordpress Plugin
Download latest - 1.7.0

Developers

johnbillion

Download Stats

Today 567
Yesterday 915
Last Week 5,698
All Time 692,883
Banner 772x250

This plugin allows you to quickly swap between user accounts in WordPress at the click of a button. You'll be instantly logged out and logged in as your desired user. 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.

Features

  • Switch user: Instantly switch to any user account from the Users screen.
  • Switch back: Instantly switch back to your originating account.
  • Switch off: Log out of your account but retain the ability to instantly switch back in again.
  • It's completely secure (see the Security section below).
  • Compatible with WordPress, WordPress Multisite, WooCommerce, BuddyPress, and bbPress.

Security

  • Only users with the ability to edit other users can switch user accounts. By default this is only Administrators on single site installations, and Super Admins on Multisite installations.
  • Passwords are not (and cannot be) revealed.
  • Uses the cookie authentication system in WordPress when remembering the account(s) you've switched from and when switching back.
  • Implements the nonce security system in WordPress, meaning only those who intend to switch users can switch.
  • Full support for user session validation where appropriate.
  • Full support for administration over SSL (if applicable).

Usage

  1. Visit the Users menu in WordPress and you'll see a Switch To link in the list of action links for each user.
  2. Click this and you will immediately switch into that user account.
  3. You can switch back to your originating account via the Switch back link on each dashboard screen or in your profile menu in the WordPress toolbar.

See the FAQ for information about the Switch Off feature.

Privacy Statement

User Switching makes use of browser cookies in order to allow users to switch to another account. Its cookies operate using the same mechanism as the authentication cookies in WordPress core, therefore their values contain the user's user_login field in plain text which should be treated as potentially personally identifiable information. The names of the cookies are:

  • wordpress_user_sw_{COOKIEHASH}
  • wordpress_user_sw_secure_{COOKIEHASH}
  • wordpress_user_sw_olduser_{COOKIEHASH}

User Switching does not send data to any third party, nor does it include any third party resources, nor will it ever do so.


Releases (36 )

Version Release Date Change Log
1.7.0 2022-07-30
1.6.0 2022-06-24
1.5.8 2022-01-25
1.5.7 2021-05-12
1.5.6 2020-09-21
1.5.5 2020-06-22
1.5.4 2020-04-21
1.5.3 2019-11-05
1.5.2 2019-08-16
1.5.1 2019-06-16
1.5.0 2019-03-28
1.4.2 2019-02-13
1.4.1 2019-02-02
1.4.0 2018-09-17
1.3.1 2018-05-24
1.3.0 2017-11-09
1.2.0 2017-09-29
1.1.0 2017-09-07
1.0.9 2016-12-08
1.0.8 2015-10-15
  • Chinese (Taiwan) and Czech translations.
  • Updated Dutch, Spanish, Hebrew, and German translations.
  • Add an ID attribute to the links on the WordPress login screen, BuddyPress screens, and bbPress screens.

=

1.0.7 2015-08-10
  • Azerbaijani, Danish, and Bosnian translations.
  • Add back the 'User Switching' heading on the user profile screen, and correct the values passed to the switch_back_user hook when a user has been switched off.

=

1.0.6 2015-08-08
  • Correct the values passed to the switch_back_user action when a user switches back.

=

1.0.5 2015-04-06
  • Norwegian translation by Per Sderlind.

=

1.0.4 2015-03-26
  • Support for the new logout_redirect and removable_query_args filters in WordPress 4.2.

=

1.0.3 2015-01-15
  • Croatian translation, plus a small fix to avoid PHP notices triggered by poorly coded plugins.

=

1.0.2 2014-12-15
  • New translations: Trke (Turkish), Romn (Romanian), Nederlands (Dutch), (Greek), (Bulgarian), Suomi (Finnish), and Italiano (Italian).

=

1.0.1 2014-09-03
  • Shorten the names of User Switching's cookies to avoid problems with Suhosin's over-zealous default rules.
  • Add backwards compatibility for the deprecated OLDUSER_COOKIE constant.
1.0 2014-08-25
  • Security hardening for sites that use HTTPS in the admin area and HTTP on the front end.

=

0.9 2014-05-01
  • Minor fixes for the login_redirect filter.

=

0.8.9 2014-04-04
  • Translations for French, Hebrew, Indonesian, and Portuguese.

=

0.8.8 2014-03-27
  • Spanish Translation by Marcelo Pedra.
  • User Switching is now a network-only plugin when used on Multisite.

=

0.8.7 2014-02-21
  • Respect the secure_logged_in_cookie and login_redirect filters.

=

0.8.6 2014-01-21
  • Correctly encode the redirect_to parameter in the login screen message.

=

0.8.5 2013-12-20
  • Add a 'Switch To' link to bbPress profile screens.

=

0.8.4 2013-10-29
  • Show admin notices on all possible admin screens.
  • Tweak the redirect location for BuddyPress user profiles.

=

0.8.3 2013-10-29
  • Show admin notices on all possible admin screens.
  • Tweak the redirect location for BuddyPress user profiles.

=