WordPress plugin that provides instant switching between user accounts.

Overview

User Switching

Stable tag: 1.5.7
Requires at least: 3.7
Tested up to: 5.7
Requires PHP: 5.3
License: GPL v2 or later
Tags: users, profiles, user switching, fast user switching, multisite, buddypress, bbpress, become, user management, developer
Contributors: johnbillion
Donate link: https://github.com/sponsors/johnbillion

Instant switching between user accounts in WordPress.

Description

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.
  • Switching between users is secure (see the Security section below).
  • Compatible with WordPress, WordPress Multisite, WooCommerce, BuddyPress, bbPress, and most two-factor authentication plugins.

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.

Other Plugins

I maintain several other plugins for developers. Check them out:

  • Query Monitor is the developer tools panel for WordPress
  • WP Crontrol lets you view and control what's happening in the WP-Cron system

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.

See also the FAQ for some questions relating to privacy and safety when switching between users.

Ethical Open Source

User Switching is considered Ethical Open Source because it meets all of the criteria of The Ethical Source Definition (ESD):

  1. It benefits the commons.
  2. It is created in the open.
  3. Its community is welcoming and just.
  4. It puts accessibility first.
  5. It prioritizes user safety.
  6. It protects user privacy.
  7. It encourages fair compensation.

Screenshots

  1. The Switch To link on the Users screen
    The Switch To link on the Users screen

  2. The Switch To link on a user's profile
    The Switch To link on a user's profile

Frequently Asked Questions

Does this plugin work with PHP 8?

Yes.

What does "Switch off" mean?

Switching off logs you out of your account but retains your user ID in an authentication cookie so you can switch straight back without having to log in again manually. It's akin to switching to no user, and being able to switch back.

The Switch Off link can be found in your profile menu in the WordPress toolbar. Once you've switched off you'll see a Switch back link on the Log In screen and in the footer of your site.

Does this plugin work with WordPress Multisite?

Yes, and you'll also be able to switch users from the Users screen in Network Admin.

Does this plugin work with BuddyPress?

Yes, and you'll also be able to switch users from member profile screens and the member listing screen.

Does this plugin work with bbPress?

Yes, and you'll also be able to switch users from member profile screens.

Does this plugin work with WooCommerce?

Yes. For maximum compatibility you should use WooCommerce version 3.6 or later.

Does this plugin work if my site is using a two-factor authentication plugin?

Yes, mostly.

One exception I'm aware of is Duo Security. If you're using this plugin, you should install the User Switching for Duo Security add-on plugin which will prevent the two-factor authentication prompt from appearing when you switch between users.

What capability does a user need in order to switch accounts?

A user needs the edit_users capability in order to switch user accounts. By default only Administrators have this capability, and with Multisite enabled only Super Admins have this capability.

Can the ability to switch accounts be granted to other users or roles?

Yes. The switch_users meta capability can be explicitly granted to a user or a role to allow them to switch users regardless of whether or not they have the edit_users capability. For practical purposes, the user or role will also need the list_users capability so they can access the Users menu in the WordPress admin area.

Can the ability to switch accounts be denied from users?

Yes. User capabilities in WordPress can be set to false to deny them from a user. Denying the switch_users capability prevents the user from switching users, even if they have the edit_users capability.

add_filter( 'user_has_cap', function( $allcaps, $caps, $args, $user ) {
    if ( 'switch_to_user' === $args[0] ) {
        if ( my_condition() ) {
            $allcaps['switch_users'] = false;
        }
    }
    return $allcaps;
}, 9, 4 );

Note that this needs to happen before User Switching's own capability filtering, hence the priority of 9.

Can I add a custom "Switch To" link to my own plugin or theme?

Yes. Use the user_switching::maybe_switch_url() method for this. It takes care of authentication and returns a nonce-protected URL for the current user to switch into the provided user account.

if ( method_exists( 'user_switching', 'maybe_switch_url' ) ) {
    $url = user_switching::maybe_switch_url( $target_user );
    if ( $url ) {
        printf(
            '<a href="%1$s">Switch to %2$s</a>',
            esc_url( $url ),
            esc_html( $target_user->display_name )
        );
    }
}

This link also works for switching back to the original user, but if you want an explicit link for this you can use the following code:

if ( method_exists( 'user_switching', 'get_old_user' ) ) {
    $old_user = user_switching::get_old_user();
    if ( $old_user ) {
        printf(
            '<a href="%1$s">Switch back to %2$s</a>',
            esc_url( user_switching::switch_back_url( $old_user ) ),
            esc_html( $old_user->display_name )
        );
    }
}

Can I determine whether the current user switched into their account?

Yes. Use the current_user_switched() function for this.

if ( function_exists( 'current_user_switched' ) ) {
    $switched_user = current_user_switched();
    if ( $switched_user ) {
        // User is logged in and has switched into their account.
        // $switched_user is the WP_User object for their originating user.
    }
}

Does this plugin allow a user to frame another user for an action?

Potentially yes, but User Switching includes some safety protections for this and there are further precautions you can take as a site administrator:

  • User Switching stores the ID of the originating user in the new session for the user they switch to. Although this session does not persist by default when they subsequently switch back, there will be a record of this ID if your MySQL server has query logging enabled.
  • User Switching stores the login name of the originating user in an authentication cookie (see the Privacy Statement for more information). If your server access logs store cookie data, there will be a record of this login name (along with the IP address) for each access request.
  • You can install an audit trail plugin such as Simple History, WP Activity Log, or Stream, all of which have built-in support for User Switching and all of which log an entry when a user switches into another account.
  • User Switching triggers an action when a user switches account, switches off, or switches back (see below). You can use these actions to perform additional logging for safety purposes depending on your requirements.

One or more of the above should allow you to correlate an action with the originating user when a user switches account, should you need to.

Bear in mind that even without the User Switching plugin in use, any user who has the ability to edit another user can still frame another user for an action by, for example, changing their password and manually logging into that account. If you are concerned about users abusing others, you should take great care when granting users administrative rights.

Can regular admins on Multisite installations switch accounts?

No. This can be enabled though by installing the User Switching for Regular Admins plugin.

Can I switch users directly from the admin toolbar?

Yes, there's a third party add-on plugin for this: Admin Bar User Switching.

Are any plugin actions called when a user switches account?

Yes. When a user switches to another account, the switch_to_user hook is called:

/**
 * Fires when a user switches to another user account.
 *
 * @since 0.6.0
 * @since 1.4.0 The `$new_token` and `$old_token` parameters were added.
 *
 * @param int    $user_id     The ID of the user being switched to.
 * @param int    $old_user_id The ID of the user being switched from.
 * @param string $new_token   The token of the session of the user being switched to. Can be an empty string
 *                            or a token for a session that may or may not still be valid.
 * @param string $old_token   The token of the session of the user being switched from.
 */
do_action( 'switch_to_user', $user_id, $old_user_id, $new_token, $old_token );

When a user switches back to their originating account, the switch_back_user hook is called:

/**
 * Fires when a user switches back to their originating account.
 *
 * @since 0.6.0
 * @since 1.4.0 The `$new_token` and `$old_token` parameters were added.
 *
 * @param int       $user_id     The ID of the user being switched back to.
 * @param int|false $old_user_id The ID of the user being switched from, or false if the user is switching back
 *                               after having been switched off.
 * @param string    $new_token   The token of the session of the user being switched to. Can be an empty string
 *                               or a token for a session that may or may not still be valid.
 * @param string    $old_token   The token of the session of the user being switched from.
 */
do_action( 'switch_back_user', $user_id, $old_user_id, $new_token, $old_token );

When a user switches off, the switch_off_user hook is called:

/**
 * Fires when a user switches off.
 *
 * @since 0.6.0
 * @since 1.4.0 The `$old_token` parameter was added.
 *
 * @param int    $old_user_id The ID of the user switching off.
 * @param string $old_token   The token of the session of the user switching off.
 */
do_action( 'switch_off_user', $old_user_id, $old_token );

In addition, User Switching respects the following filters from WordPress core when appropriate:

  • login_redirect when switching to another user.
  • logout_redirect when switching off.

Do you accept donations?

I am accepting sponsorships via the GitHub Sponsors program and any support you can give will help me maintain this plugin and keep it free for everyone.

Comments
  • Shop Managers getting 502 error on Switch To - Admins do not

    Shop Managers getting 502 error on Switch To - Admins do not

    Hello - I'm sorry to say, I don't know what was updated recently, but the site is currently operating with all up-to-date plugins, and Woo Commerce Shop Managers trying to use User Switching is now failing with 502 Bad Gateway error. Server logs aren't showing anything obvious that I can say relates to these events.

    opened by billium99 13
  • Allow switching to a specific User ID(s) only

    Allow switching to a specific User ID(s) only

    I love the fact that we can do this... however, I've recently come up with a new use case that I'm not sure is supported yet.

    I'd like to allow some users to be able to switch to a specific user only. So while the ability to grant the switch_users capability can be granted to some users, that will only get me half-way to my goal. In a nutshell, I'd like to give some users the ability to switch_users but I don't want them to be able to use that capability later and switch to some other users, I want to only allow them to switch to a certain User ID. Is this possible?

    In the example in your FAQ, we have access to the current user's ID that's attempting to switch users but it doesn't seem like we have access to the User ID of the user they're attempting to switch to which would have made my request possible.

    ~~I also cannot pass that variable through an anonymous filter function because I am getting it from an AJAX handler.~~ EDIT: Well I'll be damned! Turns out my AJAX handler was never executing because I had named it switch_to_user hahahaha. Ignore me then, the anonymous filter works just fine in the AJAX handler.

    opened by fuad-tareq 6
  • Use of undefined constant when clearing old user cookies

    Use of undefined constant when clearing old user cookies

    Hi,

    I'm hitting the following error message on PHP 7.3.5: Use of undefined constant USER_SWITCHING_OLDUSER_COOKIE - assumed 'USER_SWITCHING_OLDUSER_COOKIE' (this will throw an Error in a future version of PHP)

    That constant is defined in the plugins_loaded action, so it should be defined just fine ahead of time. Here is the relevant part of the stack, with the plugins_loaded call being run way back:

    stack: Array(11)
    0: "user_switching_clear_olduser_cookie()"
    1: "do_action('wp_login')"
    2: "xxxxxxxxxxxxxxxxxxxxxxx"
    3: "apply_filters('determine_current_user')"
    4: "_wp_get_current_user()"
    5: "wp_get_current_user()"
    6: "get_user_locale()"
    7: "determine_locale()"
    8: "load_plugin_textdomain()"
    9: "Freemius::_load_textdomain()"
    10: "do_action('plugins_loaded')"
    

    The blanked out part above is a custom function of mine that checks for an SSO cookie and autologins the user if the cookie is valid. Here it is, simplified:

    add_action('determine_current_user', function ( $user_id ) {
    	$found_user = get_user_from_sso_cookie();
    	if ( !empty( $found_user->ID ) ) {
    		error_log( '<sso> LoggedIn: '.esc_attr( $found_user->user_email ) );
    		wp_set_current_user( $found_user->ID );
    		wp_set_auth_cookie( $found_user->ID );
    		do_action( 'wp_login', $found_user->user_login, $found_user );
    		return $found_user->ID;
    	}
    });
    

    Note that the plugins works correctly apart from this error, I can still switch between users just fine, I just get this error in my logs from time to time. Ping me if you need more information, and thanks for your work on this plugin.

    Cheers, Thomas

    type:task 
    opened by thomas-grim 6
  • Fatal error on author archives

    Fatal error on author archives

    Since 3bb546800938e8ba4ef0bc1f97b50c108b9289bf the plugin uses current_user_can( 'switch_to_user', get_queried_object_id() ) and self::switch_to_url( get_queried_object() ) ) in the admin bar on author archives.

    For some reason, queried_object is false in my environment when viewing an author archive and queried_object_id is 0.

    This leads to a fatal error because of the strict type checking:

    Uncaught TypeError: Argument 1 passed to user_switching::switch_to_url() must be an instance of WP_User, boolean given, called in /wp-content/plugins/user-switching/user-switching.php on line 487
    

    While I am trying to figure out why this is the case (and why current_user_can( 'switch_to_user', 0 ) works), I thought I'd raise this here just in case.

    It can't hurt to have some type checking before calling that function.

    type:task 
    opened by swissspidy 6
  • Added some sanitization functions so code will pass PHP Code Sniffer scans

    Added some sanitization functions so code will pass PHP Code Sniffer scans

    I'm using this plugin in a site that requires PHP Code Sniffer scans to pass before deployments. I needed to add some sanitization functions for that to happen. Can they be merged into master and released in Wordpress' repo?

    opened by mphillips 6
  • Added filter to disable output in footer on front end.

    Added filter to disable output in footer on front end.

    Hi @johnbillion,

    I'm a happy, long-time User Switching user that thought it would be neat to allow disabling the user switching on front end with a filter within the plugin so I made this pull request.

    What I currently do to achieve this is the following:

    <?php
    function disable_user_switching_in_footer() {
        if ( array_key_exists( 'user_switching', $GLOBALS ) ) {
          remove_action( 'wp_footer', array( $GLOBALS['user_switching'], 'action_wp_footer' ) );
        }
    }
    add_action( 'init', 'disable_user_switching_in_footer' );
    

    And with this change developers could do this instead:

    <?php
    add_filter( 'user_switching_in_footer', '__return_false' );
    

    PS: In the diff view I can see that my indentation seems wrong compared to your code. I don't have much experience contributing to other people's projects so I hope I do this right. 😊

    type:enhancement 
    opened by pierreminik 5
  • COOKIE_DOMAIN causing 404

    COOKIE_DOMAIN causing 404

    Hello,

    We are setting the COOKIE_DOMAIN in wp-config.php to allow support for subdomains. For example:

    define( 'COOKIE_DOMAIN', '.mysite.com' );

    This appears to break the user switching plugin. Specifically, we receive a 404 or "could not switch users" error when trying to switch.

    Do you know of any workaround for this?

    Thanks! Neil

    opened by neillaferty 5
  • Added filter user_switching_allow_switch to action_init

    Added filter user_switching_allow_switch to action_init

    With some more backend uses of the plugin the ability to selectively allow a user to switch users is preferable to permanently or temporarily assigning the capability to users that normally wouldn't be able to.

    Use Case (n=1):

    A site with a front-end dashboard that allows those with administrator roles to switch between users for customer service or other administrative duties as needed.

    Currently when on another user's dashboard you have to switch back to the administrator to then switch to a different user.

    Screen Shot 2020-01-06 at 3 17 23 AM

    opened by CatEntangler 5
  • No 'Switch back to ...' links

    No 'Switch back to ...' links

    I've updated to 1.0 across all my sites, it's working fine on most, but on some sites when I switch into a user I see the 'Switched to...' message but there is no 'Switch back to...' link, either in the message div or in the toolbar user dropdown. The message div is also not showing the icon.

    I put some error logging in there and it looks like the conditional in the user_switching_get_olduser_cookie function is always failing.

    I've cleared out all cookies and tried again, but it's still not working.

    I can see that the two cookies (wordpress_user_switching_HASH and wordpress_user_switching_olduser_HASH) both exist and neither is empty.

    type:bug 
    opened by lumpysimon 5
  • Capability switch_users doesn't exist by default

    Capability switch_users doesn't exist by default

    We have a user role "Shop Manager" for those who actually manage orders for customers. They do not have full admin privileges.

    After 1.4.0 they did not see "Switch to" link anymore.

    Long story short it turns out that their account needed "switch_users" capability which however did not exist. After we created that capability and enabled it for the user role Shop Manager they can now user Switch to feature again.

    It was not at all obvious that a "switch_users" capability must be created manually in order for this functionality to work.

    opened by naviter 4
  • Add option to permanently switch users

    Add option to permanently switch users

    I'm not sure how many people would find this useful, but sometimes I wish there was an option to make the current switch permanent, e.g. in the notice displayed by user_switching::action_admin_notices().

    This could be a simple link that, when clicked, calls user_switching_set_olduser_cookie() to remove information about the old user.

    There could also be a new $permanent param for switch_to_user().

    If such an addition doesn't sound like a good fit for the plugin, a filter inside user_switching::action_admin_notices() could already be useful to add such a link on my own.

    type:enhancement 
    opened by swissspidy 4
  • Translations not always loaded in WordPress 6.1

    Translations not always loaded in WordPress 6.1

    There appears to be a bug in WordPress 6.1 which prevents the plugin translations from loading when displaying the confirmation message to a user in a language other than the current page language.

    To reproduce, follow the test steps in the SwitchToEnglishCest acceptance test (which is failing on 6.1 because of this) and observe the message is output in the current page language instead of the language of the user you just switched from.

    git bisect tells me that 54682 is to blame.

    https://core.trac.wordpress.org/ticket/57116

    type:bug awaiting core fix 
    opened by johnbillion 0
  • Ask for confirmation when switching into an account which somebody else is already switched into

    Ask for confirmation when switching into an account which somebody else is already switched into

    As requested by audbennett on https://wordpress.org/support/topic/show-in-use/

    Customers email orders to us in a shared mailbox so that anyone in the company can read the email and enter the order. However, what’s been happening a lot is that two people will get it at the same time (because outlook hasn’t marked it as “read” yet) and both of us will start entering it using the “Switch To” feature. Is it possible to set an alert on the backend “Users screen” that will alert you when someone else is already logged in as that user?

    I quite like the idea of alerting a user when they attempt to switch to a user account into which somebody else is currently switched. I can see this being beneficial on sites that make heavy use of switching.

    Rather than showing a message on the Users screen it should be shown at the point where the user clicks "Switch to", otherwise you'd still get a condition where two users load the Users screen in quick succession and neither are shown that another user has switched into any given account.

    When a user switches, if another user is currently switched into that account then an "Are you sure?" message should be shown (probably via wp_die()) with the option to proceed or go back. The WordPress user session API can be used to check if there's another active session for the target user with a switched_from_id field present.

    type:enhancement 
    opened by johnbillion 1
  • Release post lock when switching user from the post editing screen

    Release post lock when switching user from the post editing screen

    A slightly annoying behaviour is that when switching users from the post editing screen, the post lock isn't released and you see the "This post is being edited by X" modal, and you need to take over.

    User Switching should release the post lock when switching between users from this screen.

    Steps to reproduce:

    • Switch to a user
    • Edit a post
    • Use the "Switch back" option in the user profile menu
    • See the post locked modal
    type:enhancement 
    opened by johnbillion 0
  • Display output in original user's language

    Display output in original user's language

    Ideally when the user is switched, all of the messages that get output by User Switching would be shown in the original user's language instead of the language that the user just switched to. This allows a user to switch to another user who uses a language they don't understand, and still be able to see and use User Switching's controls in their own language.

    Unfortunately this is blocked by two core bugs:

    • [ ] https://core.trac.wordpress.org/ticket/47547
    • [x] https://core.trac.wordpress.org/ticket/39210
    type:enhancement awaiting core fix 
    opened by johnbillion 0
  • Switch back fails when Wordpress is in subdirectory and using custom login page

    Switch back fails when Wordpress is in subdirectory and using custom login page

    I'm using Bedrock which puts Wordpress in it's own subdirectory. Part of this setup is to change the site url like the following:

    define('WP_SITEURL', "http://site.com/wp");

    This works fine along with the user swithing plugin. However I have also defined a custom login page by implementing the login_url filter.

    So instead of the built-in login page http://site.com/wp/wp-login.php my login url becomes http://site.com/login and shows a custom post with a login form.

    This combination breaks the "Switch back" functionality in this plugin. The reason seems to be that the auth cookie saved by the plugin uses SITECOOKIEPATH to save the cookie. Since this value is fetched from the WP_SITEURL setting, the value becomes /wp. So the cookie is only saved in the /wp path, but my login page is in the root path. This means that the user switching auth cookie (prefixed wordpress_user_sw_) is not available in the login page and the user switch fails with a "Could not switch off." message.

    Changing all instances of SITECOOKIEPATH in your plugin to COOKIEPATH fixes the problem since COOKIEPATH is fetched from the home_url setting. But I guess there is some reason for the auth cookie to be saved in SITECOOKIEPATH while the old_user cookie is saved in COOKIEPATH?

    Another solution would be to add a filter in you plugin so that it was possible to override the url used for switching from wp_login_url() to something else. if you think that sounds like a good idea I'd be happy to send a pull request.

    Or maybe this could be solved in some other way?

    type:bug 
    opened by filipengberg 5
Releases(1.7.0)
  • 1.7.0(Jul 30, 2022)

    • Redirect to the current post, term, user, or comment being edited when switching off
    • Clean up some user-facing messages
    • Apply basic styling to the Switch Back link that appears in the footer
    • Use a better placement for the Switch To menu on bbPress profiles
    • Use a more appropriate HTTP response code if switching off fails
    • Exclude .editorconfig from dist ZIP
    Source code(tar.gz)
    Source code(zip)
  • 1.6.0(Jun 24, 2022)

    • Add a 'Switch To' link to the order screen in WooCommerce
    • Add a 'Switch back' link to the My Account screen and the login screen in WooCommerce
    Source code(tar.gz)
    Source code(zip)
  • 1.5.8(Oct 2, 2021)

  • 1.5.7(May 12, 2021)

  • 1.5.6(Sep 18, 2020)

  • 1.5.5(Jun 22, 2020)

  • 1.5.4(Feb 7, 2020)

  • 1.5.3(Nov 5, 2019)

  • 1.5.2(Aug 16, 2019)

    • Set the correct lang attribute on User Switching's admin notice.
    • Move the WooCommerce session forgetting to an action callback so it can be unhooked if necessary.
    Source code(tar.gz)
    Source code(zip)
  • 1.5.1(Jun 16, 2019)

    • Add appropriate HTTP response codes to the error states.
    • Display User Switching's messages in the original user's locale.
    • Increase the priority of the hook that sets up the cookie constants. See #40.
    • Don't attempt to output the 'Switch To' link on author archives when the queried object isn't a user. See #39.
    Source code(tar.gz)
    Source code(zip)
  • 1.5.0(Mar 23, 2019)

  • 1.4.2(Feb 13, 2019)

    • Don't attempt to add the Switch To link to the admin toolbar when viewing an author archive in the admin area. This prevents a fatal error occurring when filtering custom post type listing screens by authors in the admin area.
    Source code(tar.gz)
    Source code(zip)
  • 1.4.1(Feb 2, 2019)

    • Add a Switch To link to the Edit User admin toolbar menu when viewing an author archive.
    • Add a Switch back link to the Edit User admin toolbar menu when viewing an author archive and you're already switched.
    Source code(tar.gz)
    Source code(zip)
  • 1.4.0(Sep 17, 2018)

    • Add support for user session retention, reuse, and destruction when switching to and back from other user accounts.
    • Add support for the switch_users meta capability for fine grained control over the ability to switch user accounts.
    • More code and documentation quality improvements.
    Source code(tar.gz)
    Source code(zip)
  • 1.3.1(May 24, 2018)

    • Add support for the X-Redirect-By header in WordPress 5.0.
    • Allow User Switching's admin notices to be dismissed.
    • Introduce a privacy statement.
    Source code(tar.gz)
    Source code(zip)
  • 1.3.0(Nov 9, 2017)

  • 1.2.0(Sep 29, 2017)

    • Improve the Switch Back functionality when the interim login window is shown.
    • Always show the Switch Back link in the Meta widget if it's present.
    Source code(tar.gz)
    Source code(zip)
  • 1.1.0(Sep 7, 2017)

    • Introduce a user_switching_switched_message filter to allow customisation of the message displayed to switched users in the admin area.
    • Switch to safe redirects for extra paranoid hardening.
    • Docblock improvements.
    • Coding standards improvements.
    Source code(tar.gz)
    Source code(zip)
  • 1.0.9(Jul 14, 2016)

  • 1.0.8(Jul 14, 2016)

    • Chinese (Taiwan) and Czech translations.
    • Updated Dutch, Spanish, Hebrew, and German translations.
    • Add an ID attribute to the links that User Switching outputs on the WordPress login screen, BuddyPress screens, and bbPress screens.
    • Avoid a deprecated argument notice when the user-actions admin toolbar node has been removed.
    Source code(tar.gz)
    Source code(zip)
  • 1.0.7(Jul 14, 2016)

    • Azerbaijani, Danish, and Bosnian translations.
    • Add back the 'User Switching' heading on the user profile screen.
    • Correct the value passed to the $old_user_id parameter of the switch_back_user hook when a user has been switched off. This should be boolean false rather than 0.
    • Docblocks for actions and filters.
    • More code standards tweaks.
    Source code(tar.gz)
    Source code(zip)
  • 1.0.6(Jul 14, 2016)

  • 1.0.5(Jul 14, 2016)

  • 1.0.4(Jul 14, 2016)

  • 1.0.3(Jul 14, 2016)

  • 1.0.2(Jul 14, 2016)

    • Turkish translation by Abdullah Pazarbasi.
    • Romanian translation by ArianServ.
    • Dutch translation by Thom.
    • Greek translation by evigiannakou.
    • Bulgarian translation by Petya Raykovska.
    • Finnish translation by Sami Keijonen.
    • Italian translation by Alessandro Curci and Alessandro Tesoro.
    • Updated Arabic, Spanish, German, and Polish translations.
    Source code(tar.gz)
    Source code(zip)
  • 1.0.1(Jul 14, 2016)

    • 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.
    Source code(tar.gz)
    Source code(zip)
  • 1.0(Jul 14, 2016)

    • Security hardening for sites that use HTTPS in the admin area and HTTP on the front end.
    • Add an extra auth check before the nonce verification.
    • Pretty icon next to the switch back links.
    Source code(tar.gz)
    Source code(zip)
  • 0.9(Jul 14, 2016)

  • 0.8.9(Jul 14, 2016)

    • French translation by Fx Bénard.
    • Hebrew translation by Rami Y.
    • Indonesian translation by Eko Ikhyar.
    • Portuguese translation by Raphael Mendonça.
    Source code(tar.gz)
    Source code(zip)
Security provides an infrastructure for sophisticated authorization systems, which makes it possible to easily separate the actual authorization logic from so called user providers that hold the users credentials.

Security provides an infrastructure for sophisticated authorization systems, which makes it possible to easily separate the actual authorization logic from so called user providers that hold the users credentials. It is inspired by the Java Spring framework.

Symfony 1.5k Dec 28, 2022
A PHP wrapper around the OpenSSL extension that provides a user-friendly interface for dealing with OpenSSL.

php-openssl-proxy About A PHP wrapper around the OpenSSL extension that provides a user-friendly interface for dealing with OpenSSL. What's up with th

Adão Pedro 4 Mar 5, 2022
A (unofficial) WordPress plugin reporting PHP and JavaScript errors to Sentry.

A (unofficial) WordPress plugin to report PHP and JavaScript errors to Sentry.

Alex Bouma 239 Dec 14, 2022
Pretty Good Privacy (PGP) is an encryption program that provides cryptographic privacy and authentication for data communication.

Pretty Good Privacy (PGP) is an encryption program that provides cryptographic privacy and authentication for data communication. PGP is used for signing, encrypting, and decrypting texts, e-mails, files, directories, and whole disk partitions and to increase the security of e-mail communications. Phil Zimmermann developed PGP in 1991.

[sCRiPTz-TEAM] 3 Dec 31, 2021
Fides provides your servers with a trusted CA certificate, and signs your OpenSSH certificates with the same key

Fides is an SSH certificate signing server. It enables zero-trust infrastructure for your engineers by dynamically, and transparently, issuing short-lived certificates with clearly defined permissions.

Moritz Friedrich 3 Dec 28, 2022
Security CSRF (cross-site request forgery) component provides a class CsrfTokenManager for generating and validating CSRF tokens.

Security Component - CSRF The Security CSRF (cross-site request forgery) component provides a class CsrfTokenManager for generating and validating CSR

Symfony 1.5k Jan 3, 2023
The Security component provides a complete security system for your web application.

Security Component The Security component provides a complete security system for your web application. It ships with facilities for authenticating us

Symfony 1.2k Jan 1, 2023
WPHunter A Wordpress Vulnerability Scanner

WPHunter Tool ☣ WPHunter A Wordpress Vulnerability Scanner You can use this tool on your wordpress website to check the security of your website by fi

Jamal Eddine 140 Dec 24, 2022
A cosmetics plugin that is highly incomplete & unoptimized (as it was roughly coded in a small period of time due to IRL issues), that I got scammed for,

CosmeticsPlus A cosmetics plugin that is highly incomplete and; unoptimized (as it was roughly coded in a small period of time due to IRL issues), tha

Seekherr 5 Feb 7, 2022
ChestRandomBP: This plugin generates chests in random places within a specific world. Where you can customize what each one of them contains, the time and the world of spawning.

ChestRandomBP ChestRandomBP: This plugin generates chests, it works PocketMine-MP and random places within a specific world. Where you can customize w

null 5 Sep 19, 2021
Laravel Sail plugin to enable SSL (HTTPS) connection with Nginx.

Laravel Sail plugin to enable SSL (HTTPS) connection with Nginx.

Ryo Kobayashi 51 Dec 19, 2022
Instant Upgrades and Instant Refactoring of any PHP 5.3+ code

Rector - Speedup Your PHP Development Rector helps you with 2 areas - major code changes and in daily work. Do you have a legacy code base? Do you wan

RectorPHP 6.5k Jan 8, 2023
Open source for selling social media accounts or accounts on other platforms.

SELLACC - Open Source Selling Accounts SELLACC is open source for selling social media accounts or accounts on other platforms. ⚠️ We not update sourc

PHAM DUC THANH 6 Nov 17, 2022
Feature Switching made easy in Laravel 5

Feature Switching (made easy) for Laravel Need to wrap new features for dev and production? Use a directive in the view or alias in the controller The

Jonathan Bird 24 Dec 1, 2022
The instant SPA WordPress plugin that will most likely break your site.

Bonfire The instant SPA plugin that will most likely break your site. A https://github.com/fireship-io/flamethrower wrapper. Installation Clone or dow

Andrew Rhyand 7 Sep 3, 2022
A RESTful and extendable Backend as a Service that provides instant backend to develop sites and apps faster, with dead-simple integration for JavaScript, iOS, Android and more.

Welcome to hook ![Gitter](https://badges.gitter.im/Join Chat.svg) hook is a RESTful, extendable Backend as a Service that provides instant backend to

doubleleft 762 Dec 30, 2022
DooTask is a lightweight open source online project task management tool that provides various document collaboration tools, online mind mapping, online flowcharting, project management, task distribution, instant IM, file management and other tools.

DooTask is a lightweight open source online project task management tool that provides various document collaboration tools, online mind mapping, online flowcharting, project management, task distribution, instant IM, file management and other tools.

kuaifan 3k Jan 5, 2023
Helps you securely setup a master password and login into user accounts with it.

?? Make your Login form smart in a minute! Built with ❤️ for every smart laravel developer Helps you set a master password in .env file and login into

Iman 341 Jan 1, 2023