[wp-hackers] Reactivate All Plugins

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

I forgot to ask if the de/re-activate function could be made into a
plugin itself -- for completely selfish reasons -- I am facing the
upgrade from 2.0.x to 2.1.x and could sure use it!

-andrew vogel
Manager of Professional Programs
University of Cincinnati
College of Pharmacy

-----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