[wp-trac] [WordPress Trac] #42071: MediaElement upgrade causing JS errors when certain languages are in use under Admin area
WordPress Trac
noreply at wordpress.org
Thu Nov 16 10:27:25 UTC 2017
#42071: MediaElement upgrade causing JS errors when certain languages are in use
under Admin area
-------------------------------------+-------------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.9
Component: External Libraries | Version: 4.9
Severity: major | Resolution:
Keywords: needs-testing needs- | Focuses: javascript,
patch | administration
-------------------------------------+-------------------------------------
Changes (by erich_k4wp):
* status: closed => reopened
* resolution: fixed =>
Comment:
Also JavaScript errors in a language with a locale code such as '''de_DE-
formal'''
{{{
if (!/^[a-z]{2,3}((\-|_)[a-z]{2})?$/i.test(args[0])) {
throw new TypeError('Language code must have format 2-3 letters and.
optionally, hyphen, underscore followed by 2 more letters');
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42071#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list