[wp-trac] [WordPress Trac] #24173: Unit tests: Support subdirectory multisite installs

WordPress Trac noreply at wordpress.org
Tue Jun 25 17:16:15 UTC 2013


#24173: Unit tests: Support subdirectory multisite installs
--------------------------+------------------------------
 Reporter:  r-a-y         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Unit Tests    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by scribu):

 > Similarly, I could ask why WP_TESTS_DOMAIN is used when we can already
 define DOMAIN_CURRENT_SITE.

 That's a good question and the answer is that WP_TESTS_DOMAIN is used on
 single-site test runs too:

 {{{
 $_SERVER['HTTP_HOST'] = WP_TESTS_DOMAIN;
 }}}

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


More information about the wp-trac mailing list