One of the new features in the upcoming WordPress 2.2 release is an option to “Deactivate All Plugins” with one click. Our standard advice is to deactivate all your plugins before upgrading so that out-of-date plugins won’t break your system mid-upgrade. But in the past, you had to deactivate plugins one at a time. Thus the new “Deactivate All Plugins” button to make this easier.
While testing some things on my development system, I was frustrated that after an upgrade, I still had to reactivate my plugins one by one. So I threw together a “Reactivate All Plugins” feature, which I hope will be implemented for the release of WordPress 2.2.
With this patch, when you use “Deactivate All Plugins”, your current active plugins list is saved. Then later, when you attempt to “Reactivate All Plugins”, it will check each plugin one-by-one. The worst that could happen is if one of your old plugins throws a PHP fatal error, then the reactivation is aborted, and no plugins are reactivated. Simpler errors, like a plugin being deleted from disk between the deactivation and reactivation, are handled more gracefully — the valid plugins will be reactivated, and the missing ones will be reported to you.
Hah! Thank you. I can’t even begin to stress that enough. 😀 It’s one of the features I’ve been hoping WP would implement.
Ditto Shari. I’m an early upgrader that uses at least a dozen plugins so every time a new stable release comes out, it always becomes a matter of laziness and a state of being hassle-free versus security, bug fixes, and enhancements. This would really help, of course at least after I’m already on 2.2. Thank you. 🙂
I hope it makes it in. One reason I’ve skipped that step in my last too updates was the number of plugins I use. I had replaced files, ran the upgrade script and hoped for the best. (And yes one upgrade I spent a week tracking down broken plugins and looking for upgraded plugins)
Great idea. My plugins directory is getting very sloppy with almost as many deactivated plugins as activated ones. Worst part of upgrading is making an inventory of active plugins.
Pingback: Better Plugin Management : Losing it[1]
great idea, might come handy in case of an error!
I agree, this is a Godsend from Heaven.
The next feature to build into WP-core is the ability to upgrade WP from within the admin page 🙂
I created this code a while ago. I was making an plugin, but I never finished it. 🙂
Wow … so simple, yet so powerful. I’m surprised someone didn’t think of this before 😛
Thanks!
That’s a good idea! 😀
I should buy you another set of hockey tickets for this! You have no idea how handy this is for me, Dougal.
Dougal, it would be nice to see this feature as built-in support and will reduce the upload of another plugin.
I’m using a plugin on my WordPress 2.1.3 to Deactivate / Reactivate plugins all at the same time.
If any one interested check this post for more info.
DG…
htpp://www.ditii.com
Pingback: Wordpress 2.2 Release Postponed » JaypeeOnline | Blogging News & Reviews
Very cool idea. If I might suggest one modification that shouldn’t be too much extra work.
It would be very useful it WordPress made a list someplace of the plugins it was deactivating with one click so later on your “reactivate” plugin can read that list and just reactivate the plugins that were deactivated to begin with.
That way for plugin happy fools like me who have 20 active plugins and 30 inactive ones we don’t have to go through the pain (from a very slow connection) of deactivating plugins that we don’t need, or that will throw code errors when activated and hence defeat the purpose of reactivating the plugins anyway since it will abort the entire sequence.
Again, thank you for all of your hard work and the very useful information you provide here.
Sweet! Andrew Ferguson is currently rummaging through my files to find what plug-in won’t play nice with his countdown plug-in, and both of these features may have prevented this problem. Wheeeeeee!!!
Yea, but the thing is, what if the upgrade goes good, but when you go to turn the plugins back on, they either break you WP or they go funky on themselves and don’t work. See!! xD
Too cool! I can’t tell you how many times I’ve forgotten to deactivate plugins and messed up my upgrade. This will be a great time-saver as will the reactivation! Hope it makes it in.
Thanks
Pingback: speedlink: plugins vs upgrades : Wordpress guy
That’s exactly how it works. When you “Deactivate All Plugins”, it saves the list of your currently active plugins. Later, when you “Reactivate”, it only reactivates the batch that you previously had turned on.
In PHP 4 there’s not really much we can due to trap all errors gracefully. But the plugin system in WP 2.2 does have a way to detect when a plugin generates a fatal error and recover. This system does its best to avoid breaking your site due to activation of a broken plugin.
It would be great if you could give each plugin a checkbox so you could select precisely which ones you want to activate or deactivate and then the corresponding buttons of course.
Dave, I’ve been reading this conversation, whatever has been suggested is all there in a WordPress plugin that I use on my blog:
1. Checkbox option.
2. Exporting a list of plugins.
3. Deactivating/re-activating all pluging at one click.
4. Deactivating/re-activating all checked plugins at one clcik.
I hope WordPress Dev team implement all these functionalities in WordPress 2.2.
You can find the plugin here.
DG…
http://www.ditii.com
Thanks a lot for this feature; it’s time-saving, of course, which makes it beautiful.
All this talk all over the web, about the WordPress plug ins and I can’t find the one that tells me how to add a pay pal shopping cart.
Samuel B. Allen
That’s going to be awesome for those days when we have to run WordPress updates. Good feature!
Pingback: WordPress Wednesday News: 4 Million Themes Downloaded, WordPress 2.2 Delayed, and Tons of New Fun on WordPress.com at The Blog Herald
Pingback: WordPress 2.2 incluirá un desactivador general de plugins | Mangas Verdes
Pingback: WordPress 2.2 Overlooked Feature: Plugin Management by Blogging Pro
Hello,
If you can’t wait for WP 2.2, this plugin will do exactly that!
http://www.wptextads.com/blog/2007/05/04/1-click-to-stop-start-plugins/
1 click to stop all plugins, and 1 click to reactivate the deactivated plugins
cheers!
Pingback: Blog Drive-Bys for 2007-05-05 - Untwisted Vortex - Living in a Different Land
thats a very useful feature….and i agree with johnathans comment no. 6 about the ability to update from the admin panel…..so when is the long due update on the wp dashboard comming? I cant wait to organize my dashboard with all the funky drag and drop boxes with the content I need!
Pingback: Wordpress 2.2 - A temblar » eduo.info
Something I’d like to see is more plugins catered for in the default install.
No, I wouldn’t like to see WordPress bloated with extra code for these, which could reduce the platoform’s great flexibility.
However, it could be nice to involve a couple more plugins ready for activation by default. Related and popular posts seems a favourite, along with some form of tag cloud – though it sounds like the latter may be coming with WP 2.3. 🙂
Pingback: geek ramblings » Reactivate All Plugins feature in WordPress 2.5
????? ??????? «?????? ?????!» ? «?????» … ? ???????? ????????, ?? ????? ???????? ?????? ?? ???? ??????????! ? ?? ???????????? ??????? ?? ?????????????