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)
Yes, this plugin can also do the same thing that “Global Plugin Update Notice” does. The notices look slightly different, but basically they’re the same. You can turn the notices on/off in Plugins -> Upgrade Settings
hi there .thanks for plugin:
Does anybody know if tis script is compatible with WordPress 2.5.1 ?
Thanks in advance for any help on this!
best regards
baron
@baron : Sorry for not answering earlier – your comment got caught by Akismet.
Yes, the plugin is compatible with 2.5.1.
I tried to use the global notices of this plugin but it doesn’t properly work…
Infact to view the message in all pages I’ve to go previously in the plugin page… than it search newer versions of plugins and so the notice is activated…
How can i fix this? (if this is not the normal behaviour)
Oops, I didn’t notice the original “global notices” plugin checked for updates on every page load. I’ll fix this in the next release. That might take a few days though, as I’ve added some new features that I need to test.
Well! Tanks a lot for your courtesy 🙂
yeah, I have the same error.
—–
So far, the type is set to ‘plugin’.
gzopen() found, will use PclZip.
PclZip failed!
—-
how can i solve the problem..
may the server have no PclZip modele?
mmm.
oh, this was known issue.
thanks.
Yes, if it’s the same “Unable to find End of Central Dir Record signature” error, it should be solved in the latest version.
Just a thought, before I installed this plugin, i had to click each upgrade automatically link, which was annoying…. I do not however want to change the rights of a directory that has all my plug-ins… that opens a security hole… previously, i got a nice FTP form that I typed all my info and blam…. updated plugin… I was hoping that you would hvae used that tool as well (…wp-admin/update.php?action=upgrade-plugin&plugin=)
that way, i would be using FTP via SSL to upload things, my FTP info is not saved in the system and i don’t have to open the directory to anyone else…
Is that something you might be able to incorporate into this plugin as is or as an option?
It’s certainly a non-trivial task, and I’m not planning to add it in the next release. However, eventually it will be necessary. Eventually, I will implement it. No specific timeframe though.
Keep up the good work! 10q
I love the plugin, make managing plugin easier.
One request, please add the “delete” to the themes property page the same as delete function in the plugin page.
I’m currently using version 2.1.2
thanks.
The theme deletion feature is already pretty much complete. Just need to get some of the other stuff done (e.g. uploading the new, more secure FF extension), and then I’ll release the new version.
Uhmm… really I don’t see the “delete” feature in plugin page ???
however I’ve another request: can you make this plugin full compatible with WordPress MU ?
tnx a lot 🙂
I said “…and then I’ll release the new version” 😛 That is, it’s done, but not available to the general public yet. Don’t worry, should be out soon.
WPMU seems doubtful. You wouldn’t want every user to be able to install any plugins they want, right?
Ooops 😛
Well… this is right but will be handy if the administrator could use this plugin (and, in case, having an option to give this power to his users)
However is only a hint 😛
“Plugin could not be activated because it triggered a fatal error.”
–
I got that after updating to the version 2.2 by clicking on the individual update (not the global update).
–
The irony is that, in spite of the warning, the plugin was updated… 😀
–
Thanks
Chris
Damn. Now I’ve got to track down a weird bug. Ah, and I thought this would be easy :/
Edit : Ah, luckily this was one was easy to find. It’s a non-critical thing that only happens on activation. I’ve uploaded the fix (both to this site and wordpress.org), but I’m not going to bump the version number for this.
I’m writing the post about this version right now.
Hi,
1. I had the “debug” function checked. Because of that, the updated plugins weren’t re-activated after the update. (It was a global update. And the plugins were Recent Comments, Similar Posts, and the Post-Plugin Library).
–
2. On another note, it’s impossible to check the “Mini-Guide” option. No idea why, and no idea what it is. 😀
Best wishes,
Chris Masse