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

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 5 07:18:36 UTC 2010


#11742: MU isn't fully compatible with custom content dir
---------------------------------+------------------------------------------
 Reporter:  Denis-de-Bernardy    |        Owner:          
     Type:  defect (bug)         |       Status:  reopened
 Priority:  normal               |    Milestone:  3.0     
Component:  Upload               |      Version:  3.0     
 Severity:  major                |   Resolution:          
 Keywords:  multisite has-patch  |  
---------------------------------+------------------------------------------
Changes (by nacin):

  * keywords:  multisite => multisite has-patch


Comment:

 [attachment:11742.4.diff] adds a deprecated warning and should be good to
 go. It first pulls in wp-load on SHORTINIT so it can generate a warning,
 then pulls in ms-files.php.

 ms-files.php now has a simple check to see if SHORTINIT is defined first.
 We could also simply rely on require_once() functionality but sidestepping
 that by including the require under {{{!defined('SHORTINIT')}}} (which
 we'd have to include anyway) would be quicker.

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


More information about the wp-trac mailing list