[wp-trac] [WordPress Trac] #11742: MU isn't fully compatible with custom content dir

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 6 14:27:52 UTC 2010


#11742: MU isn't fully compatible with custom content dir
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:     
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  3.0
Component:  Upload             |     Version:  3.0
 Severity:  major              |    Keywords:     
-------------------------------+--------------------------------------------
 In wp-content/blogs.php, line 3:

 http://core.trac.wordpress.org/browser/trunk/wp-
 content/blogs.php?rev=12603#L3

 {{{
 require_once( dirname( dirname( __FILE__) ) . '/wp-load.php' );
 }}}

 if the site is set up as so, this won't work:

 {{{
 /index.php
 /wp-core
 /wp-content
 }}}

 the file should be re-engineered accordingly. One option could be to place
 it in the wp-includes folder, and make WP automatically create a blogs.php
 file that goes:

 {{{
 <?php
 require '/path/to/wp-includes/blogs.php'
 ?>
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11742>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list