[wp-trac] [WordPress Trac] #31319: Use first translation iso instead of by key '1'

WordPress Trac noreply at wordpress.org
Fri Feb 13 11:22:40 UTC 2015


#31319: Use first translation iso instead of by key '1'
--------------------------+-----------------------------
 Reporter:  barrykooij    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.2
Component:  I18N          |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31447"]:
 {{{
 #!CommitTicketReference repository="" revision="31447"
 Avoid a PHP notice in `wp_install_language_form()` and
 `wp_dropdown_languages()` if the language doesn't have a ISO 639-1 code.

 props barrykooij.
 fixes #31319.
 }}}

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


More information about the wp-trac mailing list