WordPress.org

Make WordPress Core

Changeset 11129


Ignore:
Timestamp:
04/29/09 20:25:30 (6 years ago)
Author:
ryan
Message:

Allow plugins to override default taxonomies. Props Denis-de-Bernardy. fixes #9647

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r11122 r11129  
    170170    if (!is_array($wp_taxonomies))  
    171171        $wp_taxonomies = array(); 
    172  
    173     if (isset($wp_taxonomies[$taxonomy]))  
    174         return;  
    175172 
    176173    $defaults = array('hierarchical' => false, 'update_count_callback' => '', 'rewrite' => true, 'query_var' => true); 
Note: See TracChangeset for help on using the changeset viewer.