[wp-trac] [WordPress Trac] #47546: The language used for the `lang` attribute isn't validated before being used
WordPress Trac
noreply at wordpress.org
Tue Aug 18 12:27:53 UTC 2020
#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:
-------------------------------------+------------------------------
Comment (by justinahinon):
{{{get_available_languages()}}} takes ~1(exp-2) milliseconds more time to
run than just {{{get_locale()}}}.
Also I tested 47546.diff and it's applying correctly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47546#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list