From fcd5b67d674c4e5def669606a06360542b19d6ad Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 29 Apr 2009 20:25:30 +0000 Subject: [PATCH] Allow plugins to override default taxonomies. Props Denis-de-Bernardy. fixes #9647 git-svn-id: http://svn.automattic.com/wordpress/trunk@11129 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 7e86b30030..ef81bdf7ec 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -170,9 +170,6 @@ function register_taxonomy( $taxonomy, $object_type, $args = array() ) { if (!is_array($wp_taxonomies)) $wp_taxonomies = array(); - if (isset($wp_taxonomies[$taxonomy])) - return; - $defaults = array('hierarchical' => false, 'update_count_callback' => '', 'rewrite' => true, 'query_var' => true); $args = wp_parse_args($args, $defaults);