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

WordPress Trac noreply at wordpress.org
Tue Jun 25 18:24:55 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):

 I'm concerned about this part:

 {{{
         60              // This will override wp_guess_url() when
 populating the install
         61              // Note: we're suffixing with 'wordpress' since
 our WP install is in a subdirectory
         62              define( 'WP_SITEURL', 'http://' . WP_TESTS_DOMAIN
 . $path . 'wordpress' );
 }}}

 It ignores the ABSPATH constant. ''You'' might have WP in a subdirectory,
 but I do not.

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


More information about the wp-trac mailing list