admin-plugins author calendar category facebook post rss search twitter

TIDY REPO

The best and most reliable WordPress plugins

Plugin Protector

Plugin Author: Joshua Vandercar

Jay Hoffmann

January 8, 2014

Admin

My main goal at Tidy Repo is to protect you from all the problems that plugins can cause. But what can protect your plugins from you? Plugin Protector, that’s what.

What’s It Do?

Plugin protector adds a simple menu to your admin screen which allows you to add “protection” to any of the plugins you have installed, and an accompanying notice. If a user tries to update or delete any plugins, they will be greeted with the custom notice, and will have to manually override it to protect these options.

This can be especially useful if you have a WordPress install with multiple admins, or even if you’re just managing a few different client sites and you find it hard to keep track of what plugins truly need to be protected. It’s simple, and easy enough to override, so it creates an extra level of awareness without too much friction.

How’s It Work?

After you install the plugin, go to Plugins -> Protection. This page will have a list of all of the plugins installed on your site, activated or deactivated. Next to each plugin title is a checkbox labeled “Protected.” Check this box next to any plugin and protection will be turned on for this plugin. Next to that, you’ll see a textbox labeled “Notice.” In this box type in a custom notice you want to be displayed to users trying to delete or update the plugin.

Add a notice to any plugin

Add a notice to any plugin

When any user on the site goes to update or delete a plugin that has been marked as protected, they will be greeted with a short warning. This will notify users that the plugin has been marked as protected. If you entered in a custom notice, this will also be displayed. In order to continue updating a plugin, users will have to click on a link. To delete a plugin, they will simply have to confirm deletion. So, this plugin does not outright prevent the altering of “protected” plugins, it simply warns administrators about it’s status.

You'll see that notice when you go to delete or update the plugin

You’ll see that notice when you go to delete or update the plugin

There will also be a new column in the main Plugins list, which will mark each plugin as either “Protected” or “Not Protected” for a quick check.

There are no other options, everything else is done automatically.

Costs, Caveats, Etc.

Plugin Protector is free and hopefully at the beginning of it’s development because I think it can be very useful. I would like to see the protection notice displayed upon activation and deactivation of plugins, not just updating and deleting. Another WordPress user also suggested an optional password protection. This might be helpful too.

If you have any problems with the plugin, or want to suggest a new feature, the support forums are the best place to go.

Resources

Download Plugin Protector Now!

Did you like this post?

  • http://snippets.webaware.com.au/ Ross McKay

    It would be totally awesome if it could also block update notifications like Block Plugin Updates does — http://wordpress.org/plugins/block-specific-plugin-updates/

    • UaMV

      I’ll have to check that one out. Thanks for the feedback.

  • UaMV

    Thanks for the great write-up! I actually hadn’t thought of using the note field for customized notices … rather, I was using for my own personal notes as to why I had protected a specific plugin. Hoping to push an update before too long.

Get the latest

Signup for our newsletter to get plugin tips, and see what's coming down the pipe.

Plugin Categories