diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 971434baf2..e452ccda25 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -550,11 +550,11 @@ function wp_list_categories( $args = '' ) { $exclude_tree = array(); if ( $r['exclude_tree'] ) { - $exclude_tree = array_merge( $exclude_tree, (array) $r['exclude_tree'] ); + $exclude_tree = array_merge( $exclude_tree, wp_parse_id_list( $r['exclude_tree'] ) ); } if ( $r['exclude'] ) { - $exclude_tree = array_merge( $exclude_tree, (array) $r['exclude'] ); + $exclude_tree = array_merge( $exclude_tree, wp_parse_id_list( $r['exclude'] ) ); } $r['exclude_tree'] = $exclude_tree; diff --git a/wp-includes/version.php b/wp-includes/version.php index ae91c7fda0..814ec71afc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36003'; +$wp_version = '4.5-alpha-36005'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.