[wp-trac] [WordPress Trac] #33511: Bad value for attribute lang on element html

WordPress Trac noreply at wordpress.org
Mon Feb 29 10:19:22 UTC 2016


#33511: Bad value for attribute lang on element html
--------------------------+------------------------------
 Reporter:  Chouby        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by ocean90):

 * focuses:  accessibility =>
 * milestone:  4.5 => Awaiting Review


Comment:

 Replying to [comment:8 SergeyBiryukov]:
 > Seems like we should strip `-formal` in `get_bloginfo()`, see
 [attachment:33511.patch].

 Then we should strip `-informal` too, even if there is currently no such
 language.

 But still, this doesn't solve the real issue: Using the wp_locale for the
 lang attribute is just wrong.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33511#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list