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

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 2 18:07:59 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:  multisite
-------------------------------+--------------------------------------------

Comment(by nacin):

 Patch attached. Two things not included to prevent useless red and green:
 wp-includes/blogs.php will need to be renamed to ms-files.php, and wp-
 content/blogs.php will need to be removed.

 In order to be completely backwards compatible, I needed to create a new
 SHORTLOAD constant that is identical to SHORTINIT. This prevents an
 existing blogs.php drop-in that defines SHORTINIT from generating an
 unsuppressed E_NOTICE for redefining a constant.

 If they don't want to use wp-includes/ms-files.php at all (say if they've
 reconfigured much of their drop-in and they don't want wp-load.php to be
 included) then they will need to do a custom rewrite rule.

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


More information about the wp-trac mailing list