From b1bf7685ceb982b29fc065bd969bfad88c7fe102 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@11129 602fd350-edb4-49c9-b593-d223f7449a82 --- 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);