Giter VIP home page Giter VIP logo

admin-bar-user-switching's People

Contributors

drazenbebic avatar shakethatweight-simon avatar

Watchers

 avatar  avatar  avatar

admin-bar-user-switching's Issues

Modify display name in user results

Our site has been through many changes, and one of those means the display_name setting is not always the most beneficial string to display. I've proposed pull request #4 to allow developers to modify the string used by using a filter

Search disappears on loss of focus

@drazenbebic I don't know if you have any thoughts on this already. We've noticed it's very easy for the search box and list of users to be hidden if the mouse looses focus over the element in the admin bar. I'm looking at methods to keep it on screen until dismissed.

Out of date compatibility

Do you expect to release a new version soon with WordPress 5.6 compatibility and PHP 7.4 / PHP 8.0 compatibility?

Our group likes you plugin but fear it may fall behind compatibility requirements.

Thank you

abus_get_current_url() causes switch user request to hang on Pantheon

The issue is that this function generates the current URL, and always includes the $_SERVER[ 'SERVER_PORT' ] component if it is something other than 80. On Pantheon, and similar web application setups, the PHP application port is different than the one displayed to the end user, which results in an incorrect URL.

I would suggest perhaps using a different method to identify the active URL, or provide a WP filter that allows other plugins to customize the behavior of this function.

As a temporary work-around, we've modified our local copy of this function to always set the port component of the URL to an empty string.

cannot deactivate plugin

When I try to deactivate the plugin, Wordpress reports success with message: "Plugin deactivated." However the plugin remains activated. V1.4 on Wordpress 6.1.1.

Deprecated: Unparenthesized on PHP 7.4

I receive the following when running the plugin on PHP 7.4 and WP 5.4.

Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/typewheel/webapps/…/wp-content/plugins/admin-bar-user-switching/functions/abus-core-functions.php on line 14

Easiest implementation to add dropdown to other areas of the site

I use this on a non-public WooCommerce install and it works perfectly - letting me take advantage of user-role based pricing etc.

I would however like to add the drop down somewhere other than the admin bar for easier UX.

Would a shortcode or perhaps even a widget block implementation be a lot of work? Any other suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.