[wp-trac] [WordPress Trac] #42574: MediaElement upgrade causing JS errors when certain languages are in use e.g de_DE-formal

WordPress Trac noreply at wordpress.org
Thu Nov 16 11:24:24 UTC 2017


#42574: MediaElement upgrade causing JS errors when certain languages are in use
e.g de_DE-formal
--------------------------------+-----------------------------------------
 Reporter:  erich_k4wp          |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  4.9.1
Component:  External Libraries  |     Version:  4.9
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  javascript, administration
--------------------------------+-----------------------------------------

Comment (by Presskopp):

 I think this would be (more) correct:

 Language code must have format 2-3 letters, optionally followed by
 underscore followed by 2 or more letters

 something like:
 {{{#!php
 ^[a-z]{2,3}((_?)[a-z]*)?$
 }}}

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


More information about the wp-trac mailing list