[wp-trac] [WordPress Trac] #14129: RTL admin CSS files not loaded even if xx_XX.php states $text_direction = 'rtl';

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 13 23:09:22 UTC 2010


#14129: RTL admin CSS files not loaded even if xx_XX.php states $text_direction =
'rtl';
----------------------------------------------+-----------------------------
 Reporter:  codestyling                       |        Owner:                 
     Type:  defect (bug)                      |       Status:  closed         
 Priority:  normal                            |    Milestone:  Awaiting Review
Component:  i18n                              |      Version:  3.0            
 Severity:  blocker                           |   Resolution:  invalid        
 Keywords:  RTL admin stylsheet rtl-feedback  |  
----------------------------------------------+-----------------------------
Changes (by azaozz):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 The text direction in $styles is assigned when the default stylesheets are
 queued, L: 424 in script-loader.php
 {{{
 $styles->text_direction = function_exists( 'is_rtl' ) && is_rtl() ? 'rtl'
 : 'ltr';
 }}}

 The problem you're seeing in your plugin may be caused by premature
 queueing of the stylesheets or if you're changing the text direction after
 stylesheetrs have been queued.

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


More information about the wp-trac mailing list