14 thoughts on “WordPress Plugin: Disable WordPress Plugin Updates

  1. Jacob

    How does WordPress know when a particular plugin needs updating? Does this only work with plugins registered in the official plugin directory?

  2. John Blackbourn Post author

    WordPress compares a number of attributes of the plugin, such as the title, the author, the plugin URL, and the filename with the plugins hosted on the official WordPress Plugin Directory. Once it has decided that the plugin is one hosted in the directory then it compares the version numbers to see if a newer version is out.

    Yes it only works with the official WordPress Plugin Directory.

  3. Doug

    i would highly recommend this and the core update plugins. There is absolurely no reason why queries outside of the local domain need to be made every time a page is opened. This is just unnecessary traffic and in many case greatly slows loading times. You should be able to query for updates not have then shoved down your throat at every move.

  4. Nick

    Hi John

    Great plugin thanks!

    Can I make a suggestion for 1.4? How about allowing the admin to disable updates to only certain plugins, not just all of them?

    Thanks

    Nick :)

  5. John Blackbourn Post author

    Thanks for the feedback Nick. That’s a good idea but to be honest with you it’s unlikely I’ll be implementing that as it will require considerably more than the handful of lines of code in the plugin currently.

    If you want to prevent update notifications showing for certain plugins, you can always edit the plugin and change its version number to ’999′ (don’t forget to make a note of the actual version in case you need to know it).

  6. Nick

    Hi John

    Thanks for the reply.

    The only reason I wanted to be able to disable updates for certain plugins anyway, was because I’ve heavily customized a couple of them for clients and I didn’t want them to inadvertently overwrite them.

    I’ll use the “Version # 999″ trick instead.

    Elegant and simple – that works for me!

    Cheers and thanks again

    Nick :)

  7. Giovanni

    Ah, that 999 trick is a nifty one, thanks for that piece of information. I use one customized plugin and while the update-notion isn’t that irritating I’m glad to get rid of it.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>