[wp-trac] [WordPress Trac] #40829: Improve wp_dropdown_languages() so it doesn't print out empty attributes

WordPress Trac noreply at wordpress.org
Wed Oct 4 15:07:28 UTC 2017


#40829: Improve wp_dropdown_languages() so it doesn't print out empty attributes
-------------------------------------+------------------
 Reporter:  afercia                  |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  4.9
Component:  I18N                     |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------

Comment (by SergeyBiryukov):

 In [changeset:"41733"]:
 {{{
 #!CommitTicketReference repository="" revision="41733"
 I18N: In `wp_dropdown_languages()`, change the parsed arguments variable
 to `$parsed_args`, to prevent stomping the original `$args` array.

 Props Mte90.
 See #40829.
 }}}

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


More information about the wp-trac mailing list