• Resolved brettt

    (@brettt)


    Firstly, I am thankful I have come across your plugin, it works great and ‘almost’ solves all my custom interface issues for nosey clients.

    The issue is that I have found is a problem with the Hide plugin option setting AND the search bar on the plugins page.

    When you activate the Hide plugin option setting and then go to the plugin page, you can do a search in the plugin search bar.

    Once you do a search for a plugin, nothing shows on the search, but the problem lies when you click the x in the search bar, you then get redirected to this URL > /wp-admin/plugins.php?s=&plugin_status=all.

    This URL now shows ALL plugins installed on the site! This means the Hide Plugin setting has been bypassed by simply performing a search in the plugin search bar.

    When you click away from this page by clicking another dashboard link, for example, this complete plugin list disappears and reverts to the original settings of the Hide Plugin setting.

    My suggestion for a fix would be two things:
    1) Ensure a search for plugins does not revert to the URL /wp-admin/plugins.php?s=&plugin_status=all.
    2) Or, remove the search bar completely on the plugin page once the Hide Plugin setting is activated.

    I hope this helps and would love to see a fix for this in the future.

    Great work, keep it up 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @brettt,

    Thanks for using the plugin and your kind words. Unfortunately I don’t know how to do either of those 2 things you mentioned. If you have any code suggestions on how to do this I am all ears. You could hide the plugin search bar via CSS but this isn’t a sure-fire method. The hide plugin feature was never really designed to be bullet proof, it was just designed to hide plugins from the listing.

    Thread Starter brettt

    (@brettt)

    Okay, all good. The other week I was looking for some code to hide the plugin search bar in the back end, but could only find code to hide the WP search bar on the front end. If I do come across some code to do this I will certainly reach out again – happy to give back. Anyhow, the feature certainly helped in the project I was working on where I needed to hide certain plugins from the client, so all in all, V-happy – Thanks 🙂

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @brettt,

    To hide the search bar on the plugin page you can use the following CSS:

    #plugin-search-input {
    display: none !important;
    }

    You can put this code into our plugin admin css section and this will hide the search bar. Thanks,

    Thread Starter brettt

    (@brettt)

    Wow, thank you very much for your support on this, that code work like a charm!

    You certainly live up to your promise where you say there’s a strong chance you will solve issues in just a couple of hours. 5 Star Rating > Thank you.

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    No worries, glad I could help 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Hide Plugins setting needs an update’ is closed to new replies.