[wp-trac] [WordPress Trac] #20220: add test to see if sunrise === on in ms-settings

WordPress Trac noreply at wordpress.org
Thu Dec 19 06:12:35 UTC 2013


#20220: add test to see if sunrise === on in ms-settings
-------------------------+----------------------
 Reporter:  sboisvert    |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Multisite    |     Version:  3.0
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  has-patch    |
-------------------------+----------------------

Comment (by jeremyfelt):

 Another, albeit unlikely, scenario to consider is a configuration relying
 on previous core behavior.

 If we stopped loading sunrise on `false === SUNRISE`, then code in a
 plugin or mu-plugin that also checks `is_defined( 'SUNRISE' )` would
 attempt to fire under the incorrect assumption that `sunrise.php` had been
 loaded.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/20220#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list