[wp-trac] [WordPress Trac] #13206: Create a new function is_rtl to simplify checking for text direction

WordPress Trac wp-trac at lists.automattic.com
Mon May 3 05:49:22 UTC 2010


#13206: Create a new function is_rtl to simplify checking for text direction
-------------------------+--------------------------------------------------
 Reporter:  sivel        |        Owner:  yoavf 
     Type:  enhancement  |       Status:  closed
 Priority:  normal       |    Milestone:  3.1   
Component:  RTL          |      Version:        
 Severity:  normal       |   Resolution:  fixed 
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by nacin):

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


Comment:

 (In [14360]) Introduce is_rtl(). Use it in core. It only becomes defined
 when locale is loaded, so it's impossible to use it too early. Deprecate
 the get_bloginfo('text_direction') call. fixes #13206.

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


More information about the wp-trac mailing list