[wpmu-trac] [WordPress MU Trac] #1151: wp-activate.php - Plugin + Activation bug

WordPress MU Trac wpmu-trac at lists.automattic.com
Wed Dec 2 16:12:09 UTC 2009


#1151: wp-activate.php - Plugin + Activation bug
------------------------+---------------------------------------------------
 Reporter:  simplistik  |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  General     |     Version:  2.8.2   
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------

Comment(by simplistik):

 Yea all the plugins are in the regular plugins folder. In my limited
 experience w/ the mu-plugins folder, plugins get activated automatically
 out of that folder, and it also has to be mu "specialized" to even
 activate. I could be wrong LoL, I have limited experience w/ needing to
 use a "mu-plugins" plugin.

 With that being said I did move one of the more used plugins (NextGEN)
 that I use in 90% of the sites that we do into that folder. The plugin
 wouldn't activate, as expected, and I can't just go into each plugin and
 make it auto activate, cause once it's upgraded I'll have to do it again.
 I assume it's cause most plugins require you to hook into the activation,
 and get called by the register_activation_hook() (at least the plugins
 I've created do).

 If you go to that forum thread in the original ticket submission lokers
 mentioned they removed define( "WP_INSTALLING", true ); off line 2 of the
 wp-activate.php file. So I tested that and commented it out, and by doing
 so the page loaded properly, and activation was able to go through. So
 perhaps they key lies within that line, or at least the function that is
 being run that requires that WP_INSTALLING constant.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1151#comment:2>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list