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

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 7 22:44:33 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  |  
---------------------------------+------------------------------------------

Comment(by nacin):

 Yup, same reason why on commit Ron removed the message's translation. It
 should have occurred to me that we'll need {{{__()}}} again in
 deprecated_file. L10n happens far later in the process.

 I guess three options:
  - Manually trigger a deprecated error if WP_DEBUG, from blogs.php.
  - Set up deprecated_file() to run without translations when {{{__()}}}
 doesn't exist.
  - Define {{{__()}}} in blogs.php, have it return the first argument.

 Also, we load pomo before we stop at SHORTINIT. I don't think there's a
 reason why, and should probably move pomo down / the constant up.

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


More information about the wp-trac mailing list