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 :
- If the plugin that needs to be updated is active, it is deactivated.
- The Plugin Updater retrieves the plugin’s page from Wordpress.org and finds the download link.
- The new version is downloaded and extracted to the wp-content/plugins directory (this directory must be writable by the Updater plugin).
- 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)

wordpress built-in won’t mass update nor will it “right-click-on-link” install plugins =)
the error when activating the plugin doesn’t show up anymore… but when I tried to delete some other plugin…
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes) in /home3/proveiss/public_html/wp-includes/gettext.php on line 91
is there any enviroment specs I could provide to help with this?
Hmm, why would it run over the memory limit?… Frankly, I have no idea what could be wrong
and when I try to update something, it gets the same one:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in /home3/proveiss/public_html/wp-includes/gettext.php on line 91
[...] that you will want to search for are : All in One SEO Pack, Easy AdSenser, Google XML Sitemaps, One Click Plugin Updater, Google Analyticator, Wordpress Automatic Upgrade None of these are required, but they will all [...]
[...] One Click Plugin Updater 2.4.6 NEW! 官方介紹是可以快速安裝/升級外掛和安裝佈景的外掛,不過大部分功能現在的Wordpress都內建了。 [...]
Nice plugin, works without problems, thanks for share!
[...] First time you need a plugin called : One Click Plugin Updater [...]
I tried to avoid bugging you with a simple question but after spending quite a bit of time I’m trying to figure out why I get my websites 404 page after trying to install a plugin using the firefox extension.
When I enter the url provided into my browser the installation page appears but when trying to install the plugin I get the 404 page.
( I’m using thesis and the newest versions of wordpress, the once click installer plugin and firefox addon One-Click Installer for WP 1.1)
I know the answer is really pretty simple, I just haven’t found it yet.
ps I’m writing a a review (positive )and I’d really like to get this working soon.
Thanks for the great plugin
What is the actual URL in the address bar when you try to install the plugin and get a 404 page?
This is the address that for the 404:
http://www.reallifepurpose.com/wp-admin/plugins.php?page=install_plugin&magic=b50b716b8b039c676345a0ce230f7502&installtype=autodetect&fileurl=http://www.backtype.com/files/plugins/connect/backtype-connect-0.1.zip
I appreciate your help.
[...] of code if you changed the theme. Initially the plugins were to be uploaded manually but thanks to Janis Elsts. He made the task of installing plugin so easy that you can easily do it one step. Just download [...]
Just checking in to see if you have a solution to my installation problem (above).
I’m really excited about the possibilities of what your plugin can do. I just need to get it working.
Thanks for your help.
Mhm, sorry for not responding earlier.
I’ve run some tests and it seems your site has some kind of protection scheme set up that causes this problem. Any URL that points to any Dashboard page and contains an URL-like parameter is treated as 404. For example, this URL yields a “Nothing found” page, too :
http://www.reallifepurpose.com/wp-admin/?whatever=http://
Check your security-related plugins and .htaccess for suspicious settings.
Hi there,
I have a strange problem. When I have plugins that need to be updated, my plugin page goes blank (after flashing me a list of my plugins); everything works normally after I update my plugins using the One Click button. Strange, no? Any ideas? I’ll email you my list of plugins installed, if you think that may help.
Richard
sorry for the double post, I forgot to click the “Notify me of followup comments via e-mail” button. An rss feed for comments would’ve been useful in this case.
Actually, there is an RSS feed for comments – see the link in the meta box below the post : “You can follow any responses to this entry through the RSS 2.0 feed.” WordPress has had this feature for ages.
Anyway, I can’t think of anything specific that could cause the problem you mentioned. If it happens again, try to view the source code of the page. If that’s blank as well, then it might be related to a timeout of some kind (a wild guess). If the HTML is there but it doesn’t get displayed, maybe buggy JavaScript is to blame.
Hi again,
Thanks for pointing it out to me. I knew that it’d be somewhere, and I looked for it, but I didn’t see it in the box under the post, sorry.
So it just happened again. I checked the source, and it’s all there.
Like I said, this is what happens:
1- Notification of a plugin to be updated
2- go to plugins page
3- I see the list of plugins, then poof, it disappears
What now?
Ok, I’ve narrowed it down to the following:
The cause is a conflict of some sort between Ozh’s “Better Plugin Page” plugin and the one-click updater. I don’t know why, but with no other plugins active but these two and a 3rd (old version of any plugin), I can repeat the problem mentioned above, when there is a plugin that needs updating. Any thoughts?
I’ll have to install Ozh’s plugin and see if I can determine the cause.
…tomorrow
Well, I installed “Better Plugin Page”, but apparently it doesn’t do much of anything in my test setup (WP 2.8 beta). However, I had another idea – if you switch the “Updated Module” setting in Plugins -> Upgrade Settings it might make the problem go away.
Also, you could try toggling the “Highlight plugins that have update notification enabled” checkbox on/off; it’s bugged anyway.
Hello again,
Well, it’s 100% reproducible for me, with WP 2.7.1. I’ve tried it on several domains that I have, different WP installations; the only thing they had in common was Ozh’s plugin, Single-Click updater, and an old version of any random plugin (all other plugins were deactivated). I never experienced this before installing Single-click. Strange…
I tried your 2 suggestions, and the various possible combinations, but nothing.
I have yet to try with WP 2.8 beta, but I’ll take your word for it that it’s fine. It’d be nice if we could fix it for 2.7.1 though.
Still can’t reproduce. I installed my and Ozh’s plugins on this site (WP 2.7.1), installed an outdated version of another plugin (WP-SpamFree) and everything worked fine.
Are you, by any chance, using a different version of plugin updater? I have 2.4.6 here.
Disregard that, I found the problem. You can download the fixed version from the link in the post above.
Works great, thank you
Hi!
That fixed it, thanks. However, it no longer shows up in the nice yellow bar anymore. I also have the Fluency2 plugin installed, maybe it has something to do with that? Or did you just change the css for it? Oh well, I prefer a well-functioning plugin to a pretty one any day, so thanks for fixing it again!
Richard
I changed the CSS. Initially it used a built-in CSS class that is used to display the update notifications below each plugin row. However, this also caused the conflict with Ozh’s plugin which expects the class to be used only for it’s original purpose. So I made a new class.
Hello again,
Yeah, I figured as much, but I didn’t have the time to dig into it deeper to confirm it. Thanks for the update. Any chance you can make the new class look like the built-in class, or similar? Maybe a bright orange color (kidding, the yellow is bright enough!). It’s so much prettier.
I actually copied the built-in style to the new class, but apparently there must be another rule somewhere that I missed and that’s what makes it look different. I’ll see if I can fix it when I have time.
[...] One Click Plugin Updater – This is the key for having a bunch of plugins. You’re smart, I bet you can figure out what it does. I’ve run into problems with it not wanting to update a few plugins ever, but having to update one manually is fine with me. [...]