[wp-trac] [WordPress Trac] #47546: The language used for the `lang` attribute isn't validated before being used

WordPress Trac noreply at wordpress.org
Fri Nov 22 11:39:26 UTC 2019


#47546: The language used for the `lang` attribute isn't validated before being
used
--------------------------+------------------------------
 Reporter:  johnbillion   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------
Changes (by krynes):

 * Attachment "47546.diff" added.

 I suggest to check if core language is installed and then display. If not
 return default Wordpress language

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47546>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list