mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-27 22:58:40 +02:00
Coding Standards: Use correct variable in wp_dropdown_categories()
after [45667].
See #45059. Built from https://develop.svn.wordpress.org/trunk@45668 git-svn-id: http://core.svn.wordpress.org/trunk@45479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
18bd01985b
commit
5522be31e7
@ -365,9 +365,10 @@ function wp_dropdown_categories( $args = '' ) {
|
||||
$args['taxonomy'] = 'link_category';
|
||||
}
|
||||
|
||||
// Parse incoming $args into an array and merge it with $defaults
|
||||
$parsed_args = wp_parse_args( $args, $defaults );
|
||||
$option_none_value = $args['option_none_value'];
|
||||
// Parse incoming $args into an array and merge it with $defaults.
|
||||
$parsed_args = wp_parse_args( $args, $defaults );
|
||||
|
||||
$option_none_value = $parsed_args['option_none_value'];
|
||||
|
||||
if ( ! isset( $parsed_args['pad_counts'] ) && $parsed_args['show_count'] && $parsed_args['hierarchical'] ) {
|
||||
$parsed_args['pad_counts'] = true;
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-45667';
|
||||
$wp_version = '5.3-alpha-45668';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user