[wp-trac] [WordPress Trac] #40829: Improve wp_dropdown_languages() so it doesn't print out empty attributes
WordPress Trac
noreply at wordpress.org
Fri Jun 2 06:52:27 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: Future Release
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+-----------------------------
Comment (by afercia):
Scanning the codebase for occurrences of `wp_parse_args( $args` seems to
me in most of the recent files, including for example `class-language-
pack-upgrader.php`, the variable name is a bit more meaningful:
`$parsed_args`. In old files, it's often `$args` or `$r`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40829#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list