Single Click Plugin Updater WordPress Plugin

This plugin extends the plugin update notification feature introduced in WordPress 2.3 by adding an “update automatically” link to update notifications. When you click the link, the new version of the corresponding plugin is downloaded and installed automatically. It also lets you know which plugins have update notifications enabled.
Update 06.04.2008 : Version 2.0.1 with much more features is out. More info here.

Download it now! (37 Kb)

How It Works (In Detail)

To be able to display the new link this plugin will hide the original update notification and display a slightly modified one. Here’s what happens when you click the “update automatically” link :

  1. If the plugin that needs to be updated is active, it is deactivated.
  2. The Plugin Updater retrieves the plugin’s page from WordPress.org and finds the download link.
  3. The new version is downloaded and extracted to the wp-content/plugins directory (this directory must be writable by the Updater plugin).
  4. If necessary, the updated plugin is re-activated.

All this happens in the background, so if everything works OK you’ll end up back at the “Plugins” tab. If there are any errors the plugin will display an error message and abort the upgrade.

Requirements

  • WordPress 2.3 or newer.
  • CURL library installed or allow_url_fopen enabled in php.ini. If you don’t know what that means, don’t worry – at least one of these is available on most webservers by default.
  • The /plugins directory must be writable by WordPress. The exact file permissions depend on the server configuration. Read more about file permissions. 666 or 755 may be sufficient, and 777 will always work, though this is not recommended due to security risks.

The plugin has been tested and works under Firefox 2.x, Opera 9.x and, as of version 1.0.5, Internet Explorer.

Installation

To install the plugin, please follow these steps:

  • Download the one-click-plugin-updater.zip file (below) to your computer.
  • Unzip the file.
  • Upload “one-click-plugin-updater” folder to the “/wp-content/plugins/” directory.
  • Activate the plugin through the ‘Plugins’ menu in WordPress.

That’s it.

Download

one-click-plugin-updater.zip (40 Kb)
CC-GNU GPL

Related posts :

534 Responses to “Single Click Plugin Updater WordPress Plugin”

  1. КОБ says:

    Good job with this plugin, easy to use, works great!
    thanks!!!

  2. bengo says:

    Hi, can you fix 500 Internal error in plugin and update Firefox addon ? Thank you. Sorry, I don’t speak english.

  3. White Shadow says:

    The 500 error is the most despicable one, it doesn’t give any clues about what might be wrong. Offhand gues – maybe you could try fiddling with your file permissions in /wp-content/plugins/, see if the plugin actually has write access.

    I’ll put updating the addon on my to-do list. It probably won’t be very soon, but I’ll get around to it.

  4. Johnny C says:

    hey WS, I figured one thing today when upgrading some plugins… not all plugins give the 500 error, and even when the error happens at my site, all the times it succesfully upgraded the plugin, but didn’t re-enabled it back.

    Today it happened (already upgraded WP to 2.8.2) when I tried to upgrade Lifestream to it’s latest version. I got a 500 error, but the plugin was upgraded – it just wasn’t re-enabled.

    Along with Lifestream a couple other plugins were asking for upgrade, They weren’t upgraded when the 500 error happened, so I clicked “upgrade all” again, and everything went just fine, no error, and plugins upgraded and enabled correctly.

    Hope this can help you out solving this 500 nightmare! =)

  5. White Shadow says:

    If it’s limited to certain plugins… Memory exhaustion comes to mind – some plugins are much bigger than others, so downloading/unzipping/updating them could make the updater use up all available memory and crash. Check the download size and/or directory size of the plugins that upgraded correctly and those that didn’t.

  6. […] plug-ins and themes. Installing them is not a tedious job but uploading them is. Make sure you have One Click Plug-in Updater installed in your Blog. Its the most useful WordPress plug-in I have ever come […]

  7. […] untuk membuat blog agregator). Untuk domain berbayar, proses upgrade cukup dengan memanfaatkan one click plugin updater. Hanya dengan sekali klik, proses up-grade pun selesai. Namun, untuk domain dan hosting gratis, […]

  8. Johnny C says:

    Found out one plugin that gives me that weird error of handing out 500 Error but still upgraded it, it just won’t auto-reactivate it. Lifestream: http://www.ibegin.com/labs/wp-lifestream/

    Care to take a look?

  9. […] Counter couldn’t be easier: Download it, extract the zip file (unless you’re using One-Click Plugin Updater), copy the resulting folder to your /content/plugins directory, and activate it within […]

  10. […] 4. ทำการ Active One Click Plugin Updater ซะ 5. […]

  11. ben says:

    hey white shadow dude have you heard of get theme i was sent to it by wp do you know if this is any good does your plugon work correctly ?tx

    btw thanks if you coded it youself

  12. White Shadow says:

    I am not aware of this “get theme” you speak of, so I have no idea if the plugin works correctly with… it?

  13. b says:

    yeh google it

  14. […] high] All images get deleted when using WordPress Core Update. Please use Single click plugin update for your update need […]

  15. ben says:

    Is it just me or have other people found that after using this to update plugins none of the plugins that start with the letter A are reactivated! Bizarre!

  16. NovaRising says:

    I love the plugin but I just ran it and can’t access the blog or admin page anymore. It just shows blankness…

    Any ideas?

  17. NovaRising says:

    I changed the name of my plugin folder so wordpress disabled them all and then I was able to get back in.

  18. White Shadow says:

    If this happened after updating a plugin, it’s possible that the update failed badly and the half-upgraded plugin is crashing the WordPress admin page. In this case you only need to rename the folder of that plugin.

    On the other hand, if this problem appeared right after activating the plugin updater, I have no idea what caused it.

  19. […] should be some way to automate the process, or at least make it simpler, and there is an answer – Single Click Plugin Updater WordPress Plugin (site). This plugin extends the plugin update notification feature introduced in WordPress 2.3 by adding […]

Leave a Reply