[wp-trac] [WordPress Trac] #20291: html element "lang" bug

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 24 00:03:13 UTC 2012


#20291: html element "lang" bug
---------------------------+----------------------------
 Reporter:  ricardojvcruz  |       Owner:  ricardojvcruz
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  I18N           |     Version:  3.3.1
 Severity:  normal         |  Resolution:  invalid
 Keywords:  has-patch      |
---------------------------+----------------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 {{{
                         $output = get_locale();
                         $output = str_replace('_', '-', $output);
 }}}

 That is what controls language_attributes().

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


More information about the wp-trac mailing list