Make WordPress Core


Ignore:
Timestamp:
06/11/2010 03:53:41 PM (16 years ago)
Author:
ryan
Message:

Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-tags.php

    r15205 r15220  
    1515        $taxonomy = 'post_tag';
    1616
    17 if ( !is_taxonomy($taxonomy) )
     17if ( !taxonomy_exists($taxonomy) )
    1818        wp_die(__('Invalid taxonomy'));
    1919
Note: See TracChangeset for help on using the changeset viewer.