[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
Tue Nov 28 04:49:33 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:  reopened
 Priority:  high                     |   Milestone:  4.9.1
Component:  Media                    |     Version:  4.9
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch 2nd-opinion    |     Focuses:  javascript,
  needs-testing                      |  administration
-------------------------------------+-------------------------------------

Comment (by joemcgill):

 Thanks for the feedback and patch, @SergeyBiryukov. To be clear, the
 approach suggested in [attachment:42574.5.diff] would register a locale
 name like `de_DE-formal` in MEJS as `de` and `art_xemoji` as `art`. If the
 locale name is only an identifier, and there is no additional concerns
 with truncating the locale name in this way, I support this simplified
 approach, which avoids adding additional helper functions.

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


More information about the wp-trac mailing list