Fix array formatting. props WraithKenny. fixes #21210.

git-svn-id: http://core.svn.wordpress.org/trunk@23598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-03-04 02:48:20 +00:00
parent 13c93f4dd5
commit b35c629308

View File

@ -317,7 +317,8 @@ function register_taxonomy( $taxonomy, $object_type, $args = array() ) {
if ( ! is_array($wp_taxonomies) )
$wp_taxonomies = array();
$defaults = array( 'hierarchical' => false,
$defaults = array(
'hierarchical' => false,
'update_count_callback' => '',
'rewrite' => true,
'query_var' => $taxonomy,