Coding Standards: Use correct variable in wp_dropdown_categories()
after [45667].
See #45059. git-svn-id: https://develop.svn.wordpress.org/trunk@45668 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e5a0610d53
commit
66be571e3a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user