[wpmu-trac] [WordPress MU Trac] #1156: wp-activate.php does not load plugins. As a result, it errors if the current theme depends on any plugins

WordPress MU Trac wpmu-trac at lists.automattic.com
Mon Nov 16 18:25:10 UTC 2009


#1156: wp-activate.php does not load plugins. As a result, it errors if the
current theme depends on any plugins
----------------------+-----------------------------------------------------
 Reporter:  jsdalton  |       Owner:  somebody
     Type:  defect    |      Status:  new     
 Priority:  normal    |   Milestone:          
Component:  General   |     Version:          
 Severity:  normal    |    Keywords:          
----------------------+-----------------------------------------------------
 I came across a bug in the wp-activate.php file.

 This file attempts to load the current theme. However, it does not load
 active plugins. As a result, if the current theme references any functions
 defined by the plugins, an error is thrown.

 This behavior is being caused by the inclusion on line 2 of the statement
 that defines WP_INSTALLING as true. This looks like some kind of hack,
 since obviously WP is not installing. This hack is causing the error I
 have reported.

 The current workaround is commenting out line 2.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1156>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list