[wp-trac] [WordPress Trac] #6132: Error message in wp-blog-header.php can't be RTLed even if locale is set

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 21 18:41:53 UTC 2010


#6132: Error message in wp-blog-header.php can't be RTLed even if locale is set
------------------------------------+---------------------------------------
 Reporter:  RanYanivHartstein       |        Owner:  nbachiyski
     Type:  defect (bug)            |       Status:  reopened  
 Priority:  normal                  |    Milestone:  3.1       
Component:  i18n                    |      Version:  3.0       
 Severity:  normal                  |   Resolution:            
 Keywords:  has-patch dev-feedback  |  
------------------------------------+---------------------------------------

Comment(by nacin):

 It's been around since 2.8, so we probably won't rush it into 3.0.1.

 Patch feedback: Looks good, but we should probably still rely on
 language_attributes() if both it and is_rtl() is defined. Thus:

 {{{
 if ( function_exists( 'language_attributes' ) && function_exists( 'is_rtl'
 ) ) language_attributes(); else echo "dir='$text_direction'";
 }}}

 That look about right?

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


More information about the wp-trac mailing list