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

WordPress Trac noreply at wordpress.org
Thu Aug 22 20:19:27 UTC 2013


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

Comment (by nacin):

 The one problem with [attachment:20220.patch] is it could be fairly
 catastrophic for a site that is somehow defining SUNRISE as something
 falsey (even just an empty string), and suddenly sunrise.php doesn't load.
 I think I am OK with `if ( defined( 'SUNRISE' ) && false !== SUNRISE )`.

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


More information about the wp-trac mailing list