diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php index dcc32c417f..bfb7f6d85c 100644 --- a/src/wp-includes/category-template.php +++ b/src/wp-includes/category-template.php @@ -568,7 +568,7 @@ function wp_list_categories( $args = '' ) { } // Descendants of exclusions should be excluded too. - if ( true == $parsed_args['hierarchical'] ) { + if ( $parsed_args['hierarchical'] ) { $exclude_tree = array(); if ( $parsed_args['exclude_tree'] ) {