WordPress.org

Make WordPress Core

Ticket #9647: 9647-drop-check.diff

File 9647-drop-check.diff, 492 bytes (added by Denis-de-Bernardy, 9 years ago)
  • wp-includes/taxonomy.php

     
    170170        if (!is_array($wp_taxonomies))
    171171                $wp_taxonomies = array();
    172172
    173         if (isset($wp_taxonomies[$taxonomy]))
    174                 return;
    175 
    176173        $defaults = array('hierarchical' => false, 'update_count_callback' => '', 'rewrite' => true, 'query_var' => true);
    177174        $args = wp_parse_args($args, $defaults);
    178175