id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 26678,"sunrise.php gets included for all values of SUNRISE, including false and 'off'",pdclark,,"The most common example of enabling sunrise.php is to set `define( 'SUNRISE', 'on' );` in `wp-config.php`. Programmers might expect, then, that 'off' would disable it. Likewise, the standard for other constants, such as `WP_DEBUG` is `true` turns it on, `false` turns it off. Right now, any value of SUNRISE, including `define( 'SUNRISE', false );`, includes the file. Attached patch allows either `false` or `'off'` to disable `sunrise.php`",defect (bug),closed,normal,,Multisite,3.0,normal,duplicate,has-patch,,