Make WordPress Core


Ignore:
Timestamp:
04/16/2009 10:03:45 PM (16 years ago)
Author:
ryan
Message:

Deprecae get_catname(). Props filosofo. fixes #9550

File:
1 edited

Legend:

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

    r10150 r10959  
    170170        return $cat->term_id;
    171171    return 0;
    172 }
    173 
    174 
    175 /**
    176  * Retrieve the category name by the category ID.
    177  *
    178  * @since 0.71
    179  * @deprecated Use get_cat_name()
    180  * @see get_cat_name() get_catname() is deprecated in favor of get_cat_name().
    181  *
    182  * @param int $cat_ID Category ID
    183  * @return string category name
    184  */
    185 function get_catname( $cat_ID ) {
    186     return get_cat_name( $cat_ID );
    187172}
    188173
Note: See TracChangeset for help on using the changeset viewer.