[wp-trac] [WordPress Trac] #36567: Allow overriding constants in testing framework

WordPress Trac noreply at wordpress.org
Wed Apr 20 05:13:14 UTC 2016


#36567: Allow overriding constants in testing framework
------------------------------+------------------------
 Reporter:  rmccue            |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.6
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:  multisite
------------------------------+------------------------

Comment (by rmccue):

 You can define it without any issues by wrapping in a `WP_INSTALLING`
 check:

 {{{

 if ( ! defined( 'WP_INSTALLING' ) ) {
         define( 'MULTISITE', true );
         define( 'SUBDOMAIN_INSTALL', true );
 }
 }}}

 Sub-optimal, I agree, and I get bitten by that every time.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36567#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list