[wp-hackers] Reactivate All Plugins

Vogel, Andrew (vogelap) VOGELAP at UCMAIL.UC.EDU
Fri Apr 20 18:24:31 GMT 2007

Thanks for that! These two features (deactivate/reactivate) should make
upgrading much less headache-y!

-drew vogel

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Dougal
Sent: Friday, April 20, 2007 12:57 PM
To: wp-hackers at lists.automattic.com
Subject: [wp-hackers] Reactivate All Plugins

I whipped up a patch to provide "Reactivate All Plugins" functionality
to compliment the new "Deactivate All Plugins" feature. The patch is


I tried to trap errors as best as I could, but I'd appreciate it if
someone else could bang on it and make sure I didn't miss anything.

This should help out with the upgrade process. Just instruct users to
"Deactivate All", upgrade, then "Reactivate All". It should work fine
most of the time. But if an old plugin starts throwing fatal errors due
to changes in the core system, then the problem plugin will be reported
to the user, and they can delete it (or upgrade it) then try "Reactivate
All" again.

Dougal Campbell <dougal at gunters.org>

wp-hackers mailing list
wp-hackers at lists.automattic.com

More information about the wp-hackers mailing list