[wp-trac] [WordPress Trac] #32432: Allow wp_dropdown_languages() to return, instead of output, the markup.

WordPress Trac noreply at wordpress.org
Mon May 18 22:16:57 UTC 2015


#32432: Allow wp_dropdown_languages() to return, instead of output, the markup.
-------------------------------------+------------------------------
 Reporter:  leewillis77              |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  I18N                     |     Version:  4.2
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 I don't think we need strict comparison in line 960, `if ( $args['echo']
 )` (like in `wp_dropdown_pages()`) should be enough.

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


More information about the wp-trac mailing list