[wp-trac] [WordPress Trac] #16852: [PATCH] Don't output redundant dir="ltr" with language_attributes()

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 14 10:07:28 UTC 2011


#16852: [PATCH] Don't output redundant dir="ltr" with language_attributes()
-------------------------+-----------------------------
 Reporter:  bergius      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  RTL          |    Version:  3.1
 Severity:  trivial      |   Keywords:  has-patch
-------------------------+-----------------------------
 language_attributes() outputs dir="ltr" when is_rtl() returns false, but
 declaring the text direction as left-to-right is redundant.

 Patch only outputs the dir attribute when the direction is right-to-left.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16852>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list