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

WordPress Trac noreply at wordpress.org
Mon Dec 2 18:38:01 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:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:  has-patch => has-patch needs-testing


Comment:

 Thanks for the patch @krynes.

 Is there a performance overhead with calling `get_available_languages()`?

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


More information about the wp-trac mailing list