Make WordPress Core


Ignore:
Timestamp:
06/11/2010 03:53:41 PM (14 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-includes/default-widgets.php

    r15192 r15220  
    10421042
    10431043    function _get_current_taxonomy($instance) {
    1044         if ( !empty($instance['taxonomy']) && is_taxonomy($instance['taxonomy']) )
     1044        if ( !empty($instance['taxonomy']) && taxonomy_exists($instance['taxonomy']) )
    10451045            return $instance['taxonomy'];
    10461046
Note: See TracChangeset for help on using the changeset viewer.