Login as User or Customer — User Switching

Changelog

v 4.1.0

  • New: Redesigned settings page with modern UI
  • New: “Enable Plugin In” section — control where the Login As button appears (Users Page / User Profile Page)
  • New: User Profile Page now shows a Login As button directly on the Edit User screen

v 4.0.0

  • Fixed: “Go back” button failed for editors and non-admin roles — the capability check was incorrectly applied to the switched-in user instead of the original admin
  • Improved: Session TTL refreshes on every page load — session stays alive while user is active
  • Improved: Cookie domain now respects WordPress COOKIE_DOMAIN constant
  • Improved: Pro upgrade notice in WooCommerce uses a clear badge instead of a broken link
  • Improved: Review notice waits 7 days after activation before appearing

v 3.9.1

  • Security hardening for the user switching workflow
  • Removed insecure cookie/session-based account switching
  • Added nonce and capability checks for all switch and return actions
  • Restricted switching to non-privileged target accounts only
  • Implemented secure server-side session storage using WordPress transients
  • Added proper session cleanup on logout and switch-back

v 3.7

  • Removing unwanted images
  • Fixed return to admin function – hot fix 3

v 3.6

  • Fixed return to admin issue – hot fix 2

v 3.5

  • Fixed return to admin issue – hot fix
  • New responsive interface

v 3.3

  • Security bug fixes

v 3.2

  • Bug fixes and styling improvements

v 3.1

  • Updated tested up to

v 2.9

  • Bug fixing in users and orders page

v 2.8

  • Bug fixing in user switching with 2FA

v 2.7

  • Bug fixing in users page and WooCommerce orders page

v 2.6

  • Bug fixing in users page (remove limitation)
  • Adding new option — Go Back button position

v 2.5

  • Bug fixing in button position

v 2.4

  • Adding Spanish (Argentina) translation by Mr. gnukleo

v 2.3

  • Bug fixing in the WooCommerce cart

v 2.2

  • Enable plugin for Admin by default

v 2.1

  • Code fixes

v 1.9

  • Bug fixing in permissions — editor can no longer switch to admin
  • Bug fixing in plugin options Roles section

v 1.8

  • Bug fixing in the AJAX request

v 1.7

  • Change logout box location from top to left
  • Redirect admin to the correct page after logout

v 1.6

  • Adding wp-buy control panel page

v 1.5

  • Bug fixing in the orders page and users page

v 1.4

  • Bug fixing in CSS z-index issue

v 1.3

  • Adding Vote message

v 1.2

  • Bug fixes in the Login as user message

v 1.1

  • First beta release

Plugin Website
Visit website

Author
wp-buy
Version:
4.1.0
Last Updated
May 9, 2026
Active Installs
100
Requires
WordPress 5.0
Tested Up To
WordPress 6.9.4
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.