[wp-trac] [WordPress Trac] #14545: move wp-settings from wp-config to wp-load

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 5 23:33:25 UTC 2010


#14545: move wp-settings from wp-config to wp-load
-------------------------+--------------------------------------------------
 Reporter:  wpmuguru     |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.0.1          
 Severity:  normal       |    Keywords:  has-patch      
-------------------------+--------------------------------------------------
 In 3.0 we added a number of constants which are manually added to wp-
 config.php. Some people are adding these to the bottom of the file after
 the stop editing & load of wp-settings.

 This causes unpredictable behavior with some constants (ex. SUNRISE is
 defined in the admin area but sunrise.php isn't executed because SUNRISE
 was defined after loading wp-settings.

 Attached is a patch that moves wp-settings.php to wp-load.php.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14545>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list