Plugin / Admin Bar User Switching

Mark Wilkinson

Changelog

Changelog

1.1.1

  • Only enqueue js if the user is logged in
  • Do not seperately enqueue jQuery as it is already stated as a dependancy

1.1

  • Add keyboard navigation
  • Add magic-word feature, keyboard-only usage of the plugin
  • Focus search input on clicking the admin-bar button – thanks to @shadyvb for work on these features
  • Allow search on any user fields rather than just the login or username
  • Make the search query parameters extensible with a filter so developers can easily edit them
  • Escape calls to $_POST in the ajax search function

1.0.6

  • Make the capability (edit_users by default) needed to be able to switch to users be filterable.

1.0.5

  • Escape instances of add_query_arg in accordance with https://make.wordpress.org/plugins/2015/04/20/fixing-add_query_arg-and-remove_query_arg-usage/

1.0.4

  • Correct an issues which could result in a PHP error when the plugin is active and the User Switching plugin is not active.
  • Add filter for the switch to redirect url named abus_switch_to_url – this allows devs to alter the redirect url for different users as the filter is passed to switch to user user object.

1.0.3

  • Output styles on both front and backend to make the form look correct when results are returned.
  • Create a filter for developers to amend the styles as needed to match their theme
  • Use correct hook for enqueuing javascript file
  • Make sure the current logged in user does not appear in the search results

1.0.2

  • Thanks for @johnbillion for pointing out the incorrect capabilities check for switch_to_user. This now checks against edit_user so users who can edit users will be the Swtich to link.

1.0.1

  • Use switch_to_user user capability instead of is_super_admin when checking whether to display Switch to link in admin bar.

1.0

  • Make the Switch to User link reveals a user search box
  • Uses AJAX to populate the user switch to list which therefore makes the plugin more compatible for sites with lots of users.

0.1

  • Initial release.

Ratings

4.9
8 reviews

Rating breakdown

Details Information

Version

1.1.1

First Released

27 Nov, 2014

Total Downloads

16,388

Wordpress Version

3.1 or higher

Tested up to:

4.7.15

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.