[wp-trac] [WordPress Trac] #47546: The language used for the `lang` attribute isn't validated before being used
WordPress Trac
noreply at wordpress.org
Wed Nov 6 15:34:34 UTC 2024
#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-testing needs-patch | Focuses:
---------------------------------------+------------------------------
Comment (by swissspidy):
Circling back here, why not simply use `is_textdomain_loaded( 'default' )`
or `has_translation( 'html_lang_attribute' )`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47546#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list