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/deprecated.php

    r10703 r10959  
    13051305
    13061306/**
     1307 * Retrieve the category name by the category ID.
     1308 *
     1309 * @since 0.71
     1310 * @deprecated Use get_cat_name()
     1311 * @see get_cat_name() get_catname() is deprecated in favor of get_cat_name().
     1312 *
     1313 * @param int $cat_ID Category ID
     1314 * @return string category name
     1315 */
     1316function get_catname( $cat_ID ) {
     1317    _deprecated_function(__FUNCTION__, '2.8', 'get_cat_name()');
     1318    return get_cat_name( $cat_ID );
     1319}
     1320
     1321/**
    13071322 * Retrieve category children list separated before and after the term IDs.
    13081323 *
Note: See TracChangeset for help on using the changeset viewer.