[wp-trac] [WordPress Trac] #42071: MediaElement upgrade causing JS errors when certain languages are in use

WordPress Trac noreply at wordpress.org
Sun Oct 15 19:13:35 UTC 2017


#42071: MediaElement upgrade causing JS errors when certain languages are in use
-------------------------------------+-------------------------------------
 Reporter:  johnbillion              |       Owner:
     Type:  defect (bug)             |      Status:  reviewing
 Priority:  normal                   |   Milestone:  4.9
Component:  External Libraries       |     Version:  trunk
 Severity:  major                    |  Resolution:
 Keywords:  needs-testing needs-     |     Focuses:  javascript,
  patch                              |  administration
-------------------------------------+-------------------------------------
Changes (by johnbillion):

 * keywords:  needs-testing has-patch => needs-testing needs-patch


Comment:

 I wonder if the `mejsL10n.language` property should be populated with
 `get_locale()` instead of `get_bloginfo( 'language' )`. which results in
 the short locale name being returned (`kab` instead of `kabDZ`). No idea
 what impact this will have.

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


More information about the wp-trac mailing list