[wp-trac] [WordPress Trac] #42689: Widget editing not possible if locale language code exceeds XXX_XX

WordPress Trac noreply at wordpress.org
Fri Nov 24 10:05:55 UTC 2017


#42689: Widget editing not possible if locale language code exceeds XXX_XX
--------------------------+-----------------------------
 Reporter:  mkmyuu        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Widgets       |    Version:  4.9
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The new MediaElementPlayer causes disfunction to the Widget Customizer
 page (Appearance > Widgets) whenever the language does not match the
 XXX_XX pattern, for example de_DE_formal (German formal).

 Errors:


 {{{
 TypeError: Language code must have format 2-3 letters and. optionally,
 hyphen, underscore followed by 2 more letters
 mediaelement-and-player.min.js:320:10

 ReferenceError: MediaElementPlayer is not defined
 mediaelement-migrate.min.js:1:342

 TypeError: b(...).not(...).filter(...).mediaelementplayer is not a
 function
 wp-mediaelement.min.js:1:453
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42689>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list