Make WordPress Core


Ignore:
Timestamp:
12/23/2009 06:54:17 PM (14 years ago)
Author:
ryan
Message:

Set the version of WP a function was deprecated in for all deprecated functions. Props nacin, docwhat. fixes #7493

File:
1 edited

Legend:

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

    r12525 r12526  
    8383 *
    8484 * @since 0.71
     85 * @deprecated 1.5.1
    8586 * @deprecated Use get_post()
    8687 * @see get_post()
     
    9091 */
    9192function get_postdata($postid) {
    92     _deprecated_function(__FUNCTION__, '0.0', 'get_post()');
     93    _deprecated_function( __FUNCTION__, '1.5.1', 'get_post()' );
    9394
    9495    $post = &get_post($postid);
     
    119120 *
    120121 * @since 1.0.1
    121  * @deprecated Since 1.5 - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop}
     122 * @deprecated 1.5
     123 * @deprecated Use The Loop - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop}
    122124 */
    123125function start_wp() {
    124126    global $wp_query, $post;
    125127
    126     _deprecated_function(__FUNCTION__, '1.5', __('new WordPress Loop') );
     128    _deprecated_function( __FUNCTION__, '1.5', __('new WordPress Loop') );
    127129
    128130    // Since the old style loop is being used, advance the query iterator here.
     
    136138 *
    137139 * @since 0.71
     140 * @deprecated 0.71
    138141 * @deprecated use get_the_category()
    139142 * @see get_the_category()
     
    143146 */
    144147function the_category_ID($echo = true) {
    145     _deprecated_function(__FUNCTION__, '0.0', 'get_the_category()');
     148    _deprecated_function( __FUNCTION__, '0.71', 'get_the_category()' );
    146149
    147150    // Grab the first cat in the list.
     
    159162 *
    160163 * @since 0.71
     164 * @deprecated 0.71
    161165 * @deprecated use get_the_category_by_ID()
    162166 * @see get_the_category_by_ID()
     
    168172    global $currentcat, $previouscat;
    169173
    170     _deprecated_function(__FUNCTION__, '0.0', 'get_the_category_by_ID()');
     174    _deprecated_function( __FUNCTION__, '0.71', 'get_the_category_by_ID()' );
    171175
    172176    // Grab the first cat in the list.
     
    185189 *
    186190 * @since 1.5
     191 * @deprecated 2.0
    187192 * @deprecated Use previous_post_link()
    188193 * @see previous_post_link()
     
    197202function previous_post($format='%', $previous='previous post: ', $title='yes', $in_same_cat='no', $limitprev=1, $excluded_categories='') {
    198203
    199     _deprecated_function(__FUNCTION__, '0.0', 'previous_post_link()');
     204    _deprecated_function( __FUNCTION__, '2.0', 'previous_post_link()' );
    200205
    201206    if ( empty($in_same_cat) || 'no' == $in_same_cat )
     
    221226 *
    222227 * @since 0.71
     228 * @deprecated 2.0
    223229 * @deprecated Use next_post_link()
    224230 * @see next_post_link()
     
    232238 */
    233239function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat='no', $limitnext=1, $excluded_categories='') {
    234     _deprecated_function(__FUNCTION__, '0.0', 'next_post_link()');
     240    _deprecated_function( __FUNCTION__, '2.0', 'next_post_link()' );
    235241
    236242    if ( empty($in_same_cat) || 'no' == $in_same_cat )
     
    256262 *
    257263 * @since 1.5
     264 * @deprecated 2.0
    258265 * @deprecated Use current_user_can()
    259266 * @see current_user_can()
     
    265272 */
    266273function user_can_create_post($user_id, $blog_id = 1, $category_id = 'None') {
    267     _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
     274    _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
    268275
    269276    $author_data = get_userdata($user_id);
     
    275282 *
    276283 * @since 1.5
     284 * @deprecated 2.0
    277285 * @deprecated Use current_user_can()
    278286 * @see current_user_can()
     
    284292 */
    285293function user_can_create_draft($user_id, $blog_id = 1, $category_id = 'None') {
    286     _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
     294    _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
    287295
    288296    $author_data = get_userdata($user_id);
     
    294302 *
    295303 * @since 1.5
     304 * @deprecated 2.0
    296305 * @deprecated Use current_user_can()
    297306 * @see current_user_can()
     
    303312 */
    304313function user_can_edit_post($user_id, $post_id, $blog_id = 1) {
    305     _deprecated_function(__FUNCTION__, '0', 'current_user_can()');
     314    _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
    306315
    307316    $author_data = get_userdata($user_id);
     
    322331 *
    323332 * @since 1.5
     333 * @deprecated 2.0
    324334 * @deprecated Use current_user_can()
    325335 * @see current_user_can()
     
    331341 */
    332342function user_can_delete_post($user_id, $post_id, $blog_id = 1) {
    333     _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
     343    _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
    334344
    335345    // right now if one can edit, one can delete
     
    341351 *
    342352 * @since 1.5
     353 * @deprecated 2.0
    343354 * @deprecated Use current_user_can()
    344355 * @see current_user_can()
     
    350361 */
    351362function user_can_set_post_date($user_id, $blog_id = 1, $category_id = 'None') {
    352     _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
     363    _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
    353364
    354365    $author_data = get_userdata($user_id);
     
    360371 *
    361372 * @since 1.5
     373 * @deprecated 2.0
    362374 * @deprecated Use current_user_can()
    363375 * @see current_user_can()
     
    369381 */
    370382function user_can_edit_post_date($user_id, $post_id, $blog_id = 1) {
    371     _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
     383    _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
    372384
    373385    $author_data = get_userdata($user_id);
     
    379391 *
    380392 * @since 1.5
     393 * @deprecated 2.0
    381394 * @deprecated Use current_user_can()
    382395 * @see current_user_can()
     
    388401 */
    389402function user_can_edit_post_comments($user_id, $post_id, $blog_id = 1) {
    390     _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
     403    _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
    391404
    392405    // right now if one can edit a post, one can edit comments made on it
     
    398411 *
    399412 * @since 1.5
     413 * @deprecated 2.0
    400414 * @deprecated Use current_user_can()
    401415 * @see current_user_can()
     
    407421 */
    408422function user_can_delete_post_comments($user_id, $post_id, $blog_id = 1) {
    409     _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
     423    _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
    410424
    411425    // right now if one can edit comments, one can delete comments
     
    417431 *
    418432 * @since 1.5
     433 * @deprecated 2.0
    419434 * @deprecated Use current_user_can()
    420435 * @see current_user_can()
     
    425440 */
    426441function user_can_edit_user($user_id, $other_user) {
    427     _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
     442    _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
    428443
    429444    $user  = get_userdata($user_id);
     
    439454 *
    440455 * @since 0.71
    441  * @deprecated Use get_links()
    442  * @see get_links()
     456 * @deprecated 2.1
     457 * @deprecated Use get_bookmarks()
     458 * @see get_bookmarks()
    443459 *
    444460 * @param string $cat_name Optional. The category name to use. If no match is found uses all.
     
    458474                         $show_description = true, $show_rating = false,
    459475                         $limit = -1, $show_updated = 0) {
    460     _deprecated_function(__FUNCTION__, '0.0', 'get_links()');
     476    _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
    461477
    462478    $cat_id = -1;
     
    509525 *
    510526 * @since 1.0.1
    511  * @deprecated Use get_linkobjects()
    512  * @see get_linkobjects()
     527 * @deprecated 2.1
     528 * @deprecated Use get_bookmarks()
     529 * @see get_bookmarks()
    513530 *
    514531 * @param string $cat_name The category name to use. If no match is found uses all.
     
    520537 */
    521538function get_linkobjectsbyname($cat_name = "noname" , $orderby = 'name', $limit = -1) {
    522     _deprecated_function(__FUNCTION__, '0.0', 'get_linkobjects()');
     539    _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
    523540
    524541    $cat_id = -1;
     
    561578 *
    562579 * @since 1.0.1
     580 * @deprecated 2.1
    563581 * @deprecated Use get_bookmarks()
    564582 * @see get_bookmarks()
     
    573591 */
    574592function get_linkobjects($category = 0, $orderby = 'name', $limit = 0) {
    575     _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()');
     593    _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
    576594
    577595    $links = get_bookmarks("category=$category&orderby=$orderby&limit=$limit");
     
    588606 *
    589607 * @since 0.71
     608 * @deprecated 2.1
    590609 * @deprecated Use get_bookmarks()
    591610 * @see get_bookmarks()
     
    606625function get_linksbyname_withrating($cat_name = "noname", $before = '', $after = '<br />', $between = " ",
    607626                                    $show_images = true, $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) {
    608     _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()');
     627    _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
    609628
    610629    get_linksbyname($cat_name, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated);
     
    615634 *
    616635 * @since 0.71
     636 * @deprecated 2.1
    617637 * @deprecated Use get_bookmarks()
    618638 * @see get_bookmarks()
     
    633653function get_links_withrating($category = -1, $before = '', $after = '<br />', $between = " ", $show_images = true,
    634654                              $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) {
    635     _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()');
     655    _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
    636656
    637657    get_links($category, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated);
     
    648668 */
    649669function get_autotoggle($id = 0) {
    650     _deprecated_function(__FUNCTION__, '0.0' );
     670    _deprecated_function( __FUNCTION__, '2.1' );
    651671    return 0;
    652672}
     
    654674/**
    655675 * @since 0.71
     676 * @deprecated 2.1
    656677 * @deprecated Use wp_list_categories()
    657678 * @see wp_list_categories()
     
    680701                   $optioncount = 0, $hide_empty = 1, $use_desc_for_title = 1, $children=false, $child_of=0, $categories=0,
    681702                   $recurse=0, $feed = '', $feed_image = '', $exclude = '', $hierarchical=false) {
    682     _deprecated_function(__FUNCTION__, '0.0', 'wp_list_categories()');
     703    _deprecated_function( __FUNCTION__, '2.1', 'wp_list_categories()' );
    683704
    684705    $query = compact('optionall', 'all', 'sort_column', 'sort_order', 'file', 'list', 'optiondates', 'optioncount', 'hide_empty', 'use_desc_for_title', 'children',
     
    689710/**
    690711 * @since 1.2
     712 * @deprecated 2.1
    691713 * @deprecated Use wp_list_categories()
    692714 * @see wp_list_categories()
     
    696718 */
    697719function wp_list_cats($args = '') {
    698     _deprecated_function(__FUNCTION__, '0.0', 'wp_list_categories()');
     720    _deprecated_function( __FUNCTION__, '2.1', 'wp_list_categories()' );
    699721
    700722    $r = wp_parse_args( $args );
     
    738760        $show_last_update = 0, $show_count = 0, $hide_empty = 1, $optionnone = false,
    739761        $selected = 0, $exclude = 0) {
    740     _deprecated_function(__FUNCTION__, '0.0', 'wp_dropdown_categories()');
     762    _deprecated_function( __FUNCTION__, '2.1', 'wp_dropdown_categories()' );
    741763
    742764    $show_option_all = '';
     
    756778/**
    757779 * @since 2.1
     780 * @deprecated 2.1
    758781 * @deprecated Use wp_tiny_mce().
    759782 * @see wp_tiny_mce()
    760783 */
    761784function tinymce_include() {
    762     _deprecated_function(__FUNCTION__, '0.0', 'wp_tiny_mce()');
     785    _deprecated_function( __FUNCTION__, '2.1', 'wp_tiny_mce()' );
    763786
    764787    wp_tiny_mce();
     
    767790/**
    768791 * @since 1.2
     792 * @deprecated 2.1
    769793 * @deprecated Use wp_list_authors()
    770794 * @see wp_list_authors()
     
    779803 */
    780804function list_authors($optioncount = false, $exclude_admin = true, $show_fullname = false, $hide_empty = true, $feed = '', $feed_image = '') {
    781     _deprecated_function(__FUNCTION__, '0.0', 'wp_list_authors()');
     805    _deprecated_function( __FUNCTION__, '2.1', 'wp_list_authors()' );
    782806
    783807    $args = compact('optioncount', 'exclude_admin', 'show_fullname', 'hide_empty', 'feed', 'feed_image');
     
    787811/**
    788812 * @since 1.0.1
     813 * @deprecated 2.1
    789814 * @deprecated Use wp_get_post_categories()
    790815 * @see wp_get_post_categories()
     
    795820 */
    796821function wp_get_post_cats($blogid = '1', $post_ID = 0) {
    797     _deprecated_function(__FUNCTION__, '0.0', 'wp_get_post_categories()');
     822    _deprecated_function( __FUNCTION__, '2.1', 'wp_get_post_categories()' );
    798823    return wp_get_post_categories($post_ID);
    799824}
     
    803828 *
    804829 * @since 1.0.1
     830 * @deprecated 2.1
    805831 * @deprecated Use wp_set_post_categories()
    806832 * @see wp_set_post_categories()
     
    812838 */
    813839function wp_set_post_cats($blogid = '1', $post_ID = 0, $post_categories = array()) {
    814     _deprecated_function(__FUNCTION__, '0.0', 'wp_set_post_categories()');
     840    _deprecated_function( __FUNCTION__, '2.1', 'wp_set_post_categories()' );
    815841    return wp_set_post_categories($post_ID, $post_categories);
    816842}
     
    818844/**
    819845 * @since 0.71
     846 * @deprecated 2.1
    820847 * @deprecated Use wp_get_archives()
    821848 * @see wp_get_archives()
     
    830857 */
    831858function get_archives($type='', $limit='', $format='html', $before = '', $after = '', $show_post_count = false) {
    832     _deprecated_function(__FUNCTION__, '0.0', 'wp_get_archives()');
     859    _deprecated_function( __FUNCTION__, '2.1', 'wp_get_archives()' );
    833860    $args = compact('type', 'limit', 'format', 'before', 'after', 'show_post_count');
    834861    return wp_get_archives($args);
     
    839866 *
    840867 * @since 1.2
     868 * @deprecated 2.1
    841869 * @deprecated Use get_author_posts_url()
    842870 * @see get_author_posts_url()
     
    848876 */
    849877function get_author_link($echo = false, $author_id, $author_nicename = '') {
    850     _deprecated_function(__FUNCTION__, '0.0', 'get_author_posts_url()');
     878    _deprecated_function( __FUNCTION__, '2.1', 'get_author_posts_url()' );
    851879
    852880    $link = get_author_posts_url($author_id, $author_nicename);
     
    861889 *
    862890 * @since 0.71
     891 * @deprecated 2.1
    863892 * @deprecated Use wp_link_pages()
    864893 * @see wp_link_pages()
     
    875904function link_pages($before='<br />', $after='<br />', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page',
    876905                    $pagelink='%', $more_file='') {
    877     _deprecated_function(__FUNCTION__, '0.0', 'wp_link_pages()');
     906    _deprecated_function( __FUNCTION__, '2.1', 'wp_link_pages()' );
    878907
    879908    $args = compact('before', 'after', 'next_or_number', 'nextpagelink', 'previouspagelink', 'pagelink', 'more_file');
     
    885914 *
    886915 * @since 0.71
     916 * @deprecated 2.1
    887917 * @deprecated Use get_option()
    888918 * @see get_option()
     
    892922 */
    893923function get_settings($option) {
    894     _deprecated_function(__FUNCTION__, '0.0', 'get_option()');
     924    _deprecated_function( __FUNCTION__, '2.1', 'get_option()' );
    895925
    896926    return get_option($option);
     
    901931 *
    902932 * @since 0.71
     933 * @deprecated 1.2
    903934 * @deprecated Use the_permalink()
    904935 * @see the_permalink()
    905936 */
    906937function permalink_link() {
    907     _deprecated_function(__FUNCTION__, '0.0', 'the_permalink()');
     938    _deprecated_function( __FUNCTION__, '1.2', 'the_permalink()' );
    908939    the_permalink();
    909940}
     
    9891020function get_links($category = -1, $before = '', $after = '<br />', $between = ' ', $show_images = true, $orderby = 'name',
    9901021            $show_description = true, $show_rating = false, $limit = -1, $show_updated = 1, $echo = true) {
    991     _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()');
     1022    _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
    9921023
    9931024    $order = 'ASC';
     
    10761107 * @author Dougal
    10771108 * @since 1.0.1
     1109 * @deprecated 2.1
    10781110 * @deprecated Use wp_list_bookmarks()
    10791111 * @see wp_list_bookmarks()
    10801112 *
    10811113 * @param string $order Sort link categories by 'name' or 'id'
    1082  * @param string $$deprecated Not Used
    1083  */
    1084 function get_links_list($order = 'name', $deprecated = '') {
    1085     _deprecated_function(__FUNCTION__, '0.0', 'wp_list_bookmarks()');
     1114 */
     1115function get_links_list($order = 'name') {
     1116    _deprecated_function( __FUNCTION__, '2.1', 'wp_list_bookmarks()' );
    10861117
    10871118    $order = strtolower($order);
     
    11221153 *
    11231154 * @since 0.71
     1155 * @deprecated 2.1
    11241156 * @deprecated {@internal Use function instead is unknown}}
    11251157 *
     
    11311163 */
    11321164function links_popup_script($text = 'Links', $width=400, $height=400, $file='links.all.php', $count = true) {
    1133     _deprecated_function(__FUNCTION__, '0.0' );
     1165    _deprecated_function( __FUNCTION__, '2.1' );
    11341166
    11351167    if ( $count )
     
    11481180/**
    11491181 * @since 1.0.1
     1182 * @deprecated 2.1
    11501183 * @deprecated Use sanitize_bookmark_field()
    11511184 * @see sanitize_bookmark_field()
     
    11551188 */
    11561189function get_linkrating($link) {
    1157     _deprecated_function(__FUNCTION__, '0.0', 'sanitize_bookmark_field()');
     1190    _deprecated_function( __FUNCTION__, '2.1', 'sanitize_bookmark_field()' );
    11581191    return sanitize_bookmark_field('link_rating', $link->link_rating, $link->link_id, 'display');
    11591192}
     
    11631196 *
    11641197 * @since 0.71
     1198 * @deprecated 2.1
    11651199 * @deprecated Use get_category()
    11661200 * @see get_category()
     
    11701204 */
    11711205function get_linkcatname($id = 0) {
    1172     _deprecated_function(__FUNCTION__, '0.0', 'get_category()');
     1206    _deprecated_function( __FUNCTION__, '2.1', 'get_category()' );
    11731207
    11741208    $id = (int) $id;
     
    11921226 *
    11931227 * @since 1.0.1
     1228 * @deprecated 2.5
    11941229 * @deprecated Use post_comments_feed_link()
    11951230 * @see post_comments_feed_link()
    11961231 *
    11971232 * @param string $link_text
    1198  * @param string $deprecated Not used
    1199  */
    1200 function comments_rss_link($link_text = 'Comments RSS', $deprecated = '') {
    1201     _deprecated_function(__FUNCTION__, '0.0', 'post_comments_feed_link()');
     1233 */
     1234function comments_rss_link($link_text = 'Comments RSS') {
     1235    _deprecated_function( __FUNCTION__, '2.5', 'post_comments_feed_link()' );
    12021236    post_comments_feed_link($link_text);
    12031237}
     
    12071241 *
    12081242 * @since 1.2
     1243 * @deprecated 2.5
    12091244 * @deprecated Use get_category_feed_link()
    12101245 * @see get_category_feed_link()
     
    12121247 * @param bool $echo
    12131248 * @param int $cat_ID
    1214  * @param string $deprecated Not used
    12151249 * @return string|null
    12161250 */
    1217 function get_category_rss_link($echo = false, $cat_ID = 1, $deprecated = '') {
    1218     _deprecated_function(__FUNCTION__, '0.0', 'get_category_feed_link()');
     1251function get_category_rss_link($echo = false, $cat_ID = 1) {
     1252    _deprecated_function( __FUNCTION__, '2.5', 'get_category_feed_link()' );
    12191253
    12201254    $link = get_category_feed_link($cat_ID, 'rss2');
     
    12291263 *
    12301264 * @since 1.2
     1265 * @deprecated 2.5
    12311266 * @deprecated Use get_author_feed_link()
    12321267 * @see get_author_feed_link()
     
    12341269 * @param bool $echo
    12351270 * @param int $author_id
    1236  * @param string $deprecated Not used
    12371271 * @return string|null
    12381272 */
    1239 function get_author_rss_link($echo = false, $author_id = 1, $deprecated = '') {
    1240     _deprecated_function(__FUNCTION__, '0.0', 'get_author_feed_link()');
     1273function get_author_rss_link($echo = false, $author_id = 1) {
     1274    _deprecated_function( __FUNCTION__, '2.5', 'get_author_feed_link()' );
    12411275
    12421276    $link = get_author_feed_link($author_id);
     
    12501284 *
    12511285 * @since 1.5
     1286 * @deprecated 2.2
    12521287 * @deprecated Use get_post_comments_feed_link()
    12531288 * @see get_post_comments_feed_link()
    12541289 *
    1255  * @param string $deprecated Not used
    12561290 * @return string
    12571291 */
    1258 function comments_rss($deprecated = '') {
    1259     _deprecated_function(__FUNCTION__, '2.2', 'get_post_comments_feed_link()');
     1292function comments_rss() {
     1293    _deprecated_function( __FUNCTION__, '2.2', 'get_post_comments_feed_link()' );
    12601294    return get_post_comments_feed_link();
    12611295}
     
    12631297/**
    12641298 * An alias of wp_create_user().
     1299 *
     1300 * @since 2.0
     1301 * @deprecated 2.0
     1302 * @deprecated Use wp_create_user()
     1303 * @see wp_create_user()
    12651304 *
    12661305 * @param string $username The user's username.
     
    12681307 * @param string $email The user's email (optional).
    12691308 * @return int The new user's ID.
    1270  * @deprecated Use wp_create_user()
    1271  * @see wp_create_user()
    12721309 */
    12731310function create_user($username, $password, $email) {
     
    12801317 *
    12811318 * @since 2.0
    1282  * @param string $deprecated Unknown
    12831319 * @deprecated 2.5
    1284  */
    1285 function documentation_link( $deprecated = '' ) {
     1320 *
     1321 */
     1322function documentation_link() {
    12861323    _deprecated_function( __FUNCTION__, '2.5', '' );
    12871324    return;
     
    12941331*/
    12951332function gzip_compression() {
     1333    _deprecated_function( __FUNCTION__, '2.5', '' );
    12961334    return false;
    12971335}
     
    13001338 * Retrieve an array of comment data about comment $comment_ID.
    13011339 *
     1340 * @since 0.71
     1341 * @deprecated 2.7
    13021342 * @deprecated Use get_comment()
    13031343 * @see get_comment()
    1304  * @since 0.71
    1305  *
    1306  * @uses $id
    1307  * @uses $wpdb Database Object
    13081344 *
    13091345 * @param int $comment_ID The ID of the comment
     
    13211357 *
    13221358 * @since 0.71
     1359 * @deprecated 2.8
    13231360 * @deprecated Use get_cat_name()
    1324  * @see get_cat_name() get_catname() is deprecated in favor of get_cat_name().
     1361 * @see get_cat_name()
    13251362 *
    13261363 * @param int $cat_ID Category ID
     
    13281365 */
    13291366function get_catname( $cat_ID ) {
    1330     _deprecated_function(__FUNCTION__, '2.8', 'get_cat_name()');
     1367    _deprecated_function( __FUNCTION__, '2.8', 'get_cat_name()' );
    13311368    return get_cat_name( $cat_ID );
    13321369}
     
    13361373 *
    13371374 * @since 1.2.0
     1375 * @deprecated 2.8
     1376 * @deprecated Use get_term_children()
     1377 * @see get_term_children()
    13381378 *
    13391379 * @param int $id Category ID to retrieve children.
     
    13441384 */
    13451385function get_category_children( $id, $before = '/', $after = '', $visited = array() ) {
    1346     _deprecated_function(__FUNCTION__, '2.8', 'get_term_children()');
     1386    _deprecated_function( __FUNCTION__, '2.8', 'get_term_children()' );
    13471387    if ( 0 == $id )
    13481388        return '';
     
    13721412 * @since 1.5
    13731413 * @deprecated 2.8
    1374  * @uses $authordata The current author's DB object.
     1414 * @deprecated Use the_author_meta('description')
     1415 * @see get_the_author_meta()
     1416 *
    13751417 * @return string The author's description.
     1418 */
     1419function get_the_author_description() {
     1420    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'description\')'  );
     1421    return get_the_author_meta('description');
     1422}
     1423
     1424/**
     1425 * Display the description of the author of the current post.
     1426 *
     1427 * @since 1.0.0
     1428 * @deprecated 2.8
    13761429 * @deprecated Use the_author_meta('description')
    1377  */
    1378 function get_the_author_description() {
    1379     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'description\')' );
    1380     return get_the_author_meta('description');
    1381 }
    1382 
    1383 /**
    1384  * Display the description of the author of the current post.
    1385  *
    1386  * @link http://codex.wordpress.org/Template_Tags/the_author_description
     1430 * @see the_author_meta()
     1431 */
     1432function the_author_description() {
     1433    _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'description\')'  );
     1434    the_author_meta('description');
     1435}
     1436
     1437/**
     1438 * Retrieve the login name of the author of the current post.
     1439 *
     1440 * @since 1.5
     1441 * @deprecated 2.8
     1442 * @deprecated Use the_author_meta('login')
     1443 * @see get_the_author_meta()
     1444 *
     1445 * @return string The author's login name (username).
     1446 */
     1447function get_the_author_login() {
     1448    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'login\')'  );
     1449    return get_the_author_meta('login');
     1450}
     1451
     1452/**
     1453 * Display the login name of the author of the current post.
     1454 *
     1455 * @since 0.71
     1456 * @deprecated 2.8
     1457 * @deprecated Use the_author_meta('login')
     1458 * @see the_author_meta()
     1459 */
     1460function the_author_login() {
     1461    _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'login\')'  );
     1462    the_author_meta('login');
     1463}
     1464
     1465/**
     1466 * Retrieve the first name of the author of the current post.
     1467 *
     1468 * @since 1.5
     1469 * @deprecated 2.8
     1470 * @deprecated Use the_author_meta('first_name')
     1471 * @see get_the_author_meta()
     1472 *
     1473 * @return string The author's first name.
     1474 */
     1475function get_the_author_firstname() {
     1476    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'first_name\')'  );
     1477    return get_the_author_meta('first_name');
     1478}
     1479
     1480/**
     1481 * Display the first name of the author of the current post.
     1482 *
     1483 * @since 0.71
     1484 * @deprecated 2.8
     1485 * @deprecated Use the_author_meta('first_name')
     1486 * @see the_author_meta()
     1487 */
     1488function the_author_firstname() {
     1489    _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'first_name\')'  );
     1490    the_author_meta('first_name');
     1491}
     1492
     1493/**
     1494 * Retrieve the last name of the author of the current post.
     1495 *
     1496 * @since 1.5
     1497 * @deprecated 2.8
     1498 * @deprecated Use get_the_author_meta('last_name')
     1499 * @see get_the_author_meta()
     1500 *
     1501 * @return string The author's last name.
     1502 */
     1503function get_the_author_lastname() {
     1504    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'last_name\')'  );
     1505    return get_the_author_meta('last_name');
     1506}
     1507
     1508/**
     1509 * Display the last name of the author of the current post.
     1510 *
     1511 * @since 0.71
     1512 * @deprecated 2.8
     1513 * @deprecated Use the_author_meta('last_name')
     1514 * @see the_author_meta()
     1515 */
     1516function the_author_lastname() {
     1517    _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'last_name\')'  );
     1518    the_author_meta('last_name');
     1519}
     1520
     1521/**
     1522 * Retrieve the nickname of the author of the current post.
     1523 *
     1524 * @since 1.5
     1525 * @deprecated 2.8
     1526 * @deprecated Use get_the_author_meta('nickname')
     1527 * @see get_the_author_meta()
     1528 *
     1529 * @return string The author's nickname.
     1530 */
     1531function get_the_author_nickname() {
     1532    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'nickname\')'  );
     1533    return get_the_author_meta('nickname');
     1534}
     1535
     1536/**
     1537 * Display the nickname of the author of the current post.
     1538 *
     1539 * @since 0.71
     1540 * @deprecated 2.8
     1541 * @deprecated Use the_author_meta('nickname')
     1542 * @see the_author_meta()
     1543 */
     1544function the_author_nickname() {
     1545    _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'nickname\')'  );
     1546    the_author_meta('nickname');
     1547}
     1548
     1549/**
     1550 * Retrieve the email of the author of the current post.
     1551 *
     1552 * @since 1.5
     1553 * @deprecated 2.8
     1554 * @deprecated Use get_the_author_meta('email')
     1555 * @see get_the_author_meta()
     1556 *
     1557 * @return string The author's username.
     1558 */
     1559function get_the_author_email() {
     1560    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'email\')'  );
     1561    return get_the_author_meta('email');
     1562}
     1563
     1564/**
     1565 * Display the email of the author of the current post.
     1566 *
     1567 * @since 0.71
     1568 * @deprecated 2.8
     1569 * @deprecated Use the_author_meta('email')
     1570 * @see the_author_meta()
     1571 */
     1572function the_author_email() {
     1573    _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'email\')'  );
     1574    the_author_meta('email');
     1575}
     1576
     1577/**
     1578 * Retrieve the ICQ number of the author of the current post.
     1579 *
     1580 * @since 1.5
     1581 * @deprecated 2.8
     1582 * @deprecated Use get_the_author_meta('icq')
     1583 * @see get_the_author_meta()
     1584 *
     1585 * @return string The author's ICQ number.
     1586 */
     1587function get_the_author_icq() {
     1588    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'icq\')'  );
     1589    return get_the_author_meta('icq');
     1590}
     1591
     1592/**
     1593 * Display the ICQ number of the author of the current post.
     1594 *
     1595 * @since 0.71
     1596 * @deprecated 2.8
     1597 * @deprecated Use the_author_meta('icq')
     1598 * @see the_author_meta()
     1599 */
     1600function the_author_icq() {
     1601    _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'icq\')'  );
     1602    the_author_meta('icq');
     1603}
     1604
     1605/**
     1606 * Retrieve the Yahoo! IM name of the author of the current post.
     1607 *
     1608 * @since 1.5
     1609 * @deprecated 2.8
     1610 * @deprecated Use get_the_author_meta('yim')
     1611 * @see get_the_author_meta()
     1612 *
     1613 * @return string The author's Yahoo! IM name.
     1614 */
     1615function get_the_author_yim() {
     1616    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'yim\')'  );
     1617    return get_the_author_meta('yim');
     1618}
     1619
     1620/**
     1621 * Display the Yahoo! IM name of the author of the current post.
     1622 *
     1623 * @since 0.71
     1624 * @deprecated 2.8
     1625 * @deprecated Use the_author_meta('yim')
     1626 * @see the_author_meta()
     1627 */
     1628function the_author_yim() {
     1629    _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'yim\')'  );
     1630    the_author_meta('yim');
     1631}
     1632
     1633/**
     1634 * Retrieve the MSN address of the author of the current post.
     1635 *
     1636 * @since 1.5
     1637 * @deprecated 2.8
     1638 * @deprecated Use get_the_author_meta('msn')
     1639 * @see get_the_author_meta()
     1640 *
     1641 * @return string The author's MSN address.
     1642 */
     1643function get_the_author_msn() {
     1644    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'msn\')'  );
     1645    return get_the_author_meta('msn');
     1646}
     1647
     1648/**
     1649 * Display the MSN address of the author of the current post.
     1650 *
     1651 * @since 0.71
     1652 * @deprecated 2.8
     1653 * @deprecated Use the_author_meta('msn')
     1654 * @see the_author_meta()
     1655 */
     1656function the_author_msn() {
     1657    _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'msn\')'  );
     1658    the_author_meta('msn');
     1659}
     1660
     1661/**
     1662 * Retrieve the AIM address of the author of the current post.
     1663 *
     1664 * @since 1.5
     1665 * @deprecated 2.8
     1666 * @deprecated Use get_the_author_meta('aim')
     1667 * @see get_the_author_meta()
     1668 *
     1669 * @return string The author's AIM address.
     1670 */
     1671function get_the_author_aim() {
     1672    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'aim\')'  );
     1673    return get_the_author_meta('aim');
     1674}
     1675
     1676/**
     1677 * Display the AIM address of the author of the current post.
     1678 *
     1679 * @since 0.71
     1680 * @see the_author_meta()
     1681 * @deprecated 2.8
     1682 * @deprecated Use the_author_meta('aim')
     1683 */
     1684function the_author_aim() {
     1685    _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'aim\')'  );
     1686    the_author_meta('aim');
     1687}
     1688
     1689/**
     1690 * Retrieve the specified author's preferred display name.
     1691 *
    13871692 * @since 1.0.0
    13881693 * @deprecated 2.8
    1389  * @deprecated Use the_author_meta('description')
    1390  */
    1391 function the_author_description() {
    1392     _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'description\')' );
    1393     the_author_meta('description');
    1394 }
    1395 
    1396 /**
    1397  * Retrieve the login name of the author of the current post.
    1398  *
    1399  * @since 1.5
    1400  * @deprecated 2.8
    1401  * @uses $authordata The current author's DB object.
    1402  * @return string The author's login name (username).
    1403  * @deprecated Use the_author_meta('login')
    1404  */
    1405 function get_the_author_login() {
    1406     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'login\')' );
    1407     return get_the_author_meta('login');
    1408 }
    1409 
    1410 /**
    1411  * Display the login name of the author of the current post.
    1412  *
    1413  * @link http://codex.wordpress.org/Template_Tags/the_author_login
    1414  * @since 0.71
    1415  * @deprecated 2.8
    1416  * @deprecated Use the_author_meta('login')
    1417  */
    1418 function the_author_login() {
    1419     _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'login\')' );
    1420     the_author_meta('login');
    1421 }
    1422 
    1423 /**
    1424  * Retrieve the first name of the author of the current post.
    1425  *
    1426  * @since 1.5
    1427  * @deprecated 2.8
    1428  * @uses $authordata The current author's DB object.
    1429  * @return string The author's first name.
    1430  * @deprecated Use the_author_meta('first_name')
    1431  */
    1432 function get_the_author_firstname() {
    1433     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'first_name\')' );
    1434     return get_the_author_meta('first_name');
    1435 }
    1436 
    1437 /**
    1438  * Display the first name of the author of the current post.
    1439  *
    1440  * @link http://codex.wordpress.org/Template_Tags/the_author_firstname
    1441  * @since 0.71
    1442  * @deprecated 2.8
    1443  * @deprecated Use the_author_meta('first_name')
    1444  */
    1445 function the_author_firstname() {
    1446     _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'first_name\')' );
    1447     the_author_meta('first_name');
    1448 }
    1449 
    1450 /**
    1451  * Retrieve the last name of the author of the current post.
    1452  *
    1453  * @since 1.5
    1454  * @deprecated 2.8
    1455  * @uses $authordata The current author's DB object.
    1456  * @return string The author's last name.
    1457  * @deprecated Use the_author_meta('last_name')
    1458  */
    1459 function get_the_author_lastname() {
    1460     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'last_name\')' );
    1461     return get_the_author_meta('last_name');
    1462 }
    1463 
    1464 /**
    1465  * Display the last name of the author of the current post.
    1466  *
    1467  * @link http://codex.wordpress.org/Template_Tags/the_author_lastname
    1468  * @since 0.71
    1469  * @deprecated 2.8
    1470  * @deprecated Use the_author_meta('last_name')
    1471  */
    1472 function the_author_lastname() {
    1473     _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'last_name\')' );
    1474     the_author_meta('last_name');
    1475 }
    1476 
    1477 /**
    1478  * Retrieve the nickname of the author of the current post.
    1479  *
    1480  * @since 1.5
    1481  * @deprecated 2.8
    1482  * @uses $authordata The current author's DB object.
    1483  * @return string The author's nickname.
    1484  * @deprecated Use the_author_meta('nickname')
    1485  */
    1486 function get_the_author_nickname() {
    1487     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'nickname\')' );
    1488     return get_the_author_meta('nickname');
    1489 }
    1490 
    1491 /**
    1492  * Display the nickname of the author of the current post.
    1493  *
    1494  * @link http://codex.wordpress.org/Template_Tags/the_author_nickname
    1495  * @since 0.71
    1496  * @deprecated 2.8
    1497  * @deprecated Use the_author_meta('nickname')
    1498  */
    1499 function the_author_nickname() {
    1500     _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'nickname\')' );
    1501     the_author_meta('nickname');
    1502 }
    1503 
    1504 /**
    1505  * Retrieve the email of the author of the current post.
    1506  *
    1507  * @since 1.5
    1508  * @deprecated 2.8
    1509  * @uses $authordata The current author's DB object.
    1510  * @return string The author's username.
    1511  * @deprecated Use the_author_meta('email')
    1512  */
    1513 function get_the_author_email() {
    1514     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'email\')' );
    1515     return get_the_author_meta('email');
    1516 }
    1517 
    1518 /**
    1519  * Display the email of the author of the current post.
    1520  *
    1521  * @link http://codex.wordpress.org/Template_Tags/the_author_email
    1522  * @since 0.71
    1523  * @deprecated 2.8
    1524  * @deprecated Use the_author_meta('email')
    1525  */
    1526 function the_author_email() {
    1527     _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'email\')' );
    1528     the_author_meta('email');
    1529 }
    1530 
    1531 /**
    1532  * Retrieve the ICQ number of the author of the current post.
    1533  *
    1534  * @since 1.5
    1535  * @deprecated 2.8
    1536  * @uses $authordata The current author's DB object.
    1537  * @return string The author's ICQ number.
    1538  * @deprecated Use the_author_meta('icq')
    1539  */
    1540 function get_the_author_icq() {
    1541     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'icq\')' );
    1542     return get_the_author_meta('icq');
    1543 }
    1544 
    1545 /**
    1546  * Display the ICQ number of the author of the current post.
    1547  *
    1548  * @link http://codex.wordpress.org/Template_Tags/the_author_icq
    1549  * @since 0.71
    1550  * @deprecated 2.8
    1551  * @see get_the_author_icq()
    1552  * @deprecated Use the_author_meta('icq')
    1553  */
    1554 function the_author_icq() {
    1555     _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'icq\')' );
    1556     the_author_meta('icq');
    1557 }
    1558 
    1559 /**
    1560  * Retrieve the Yahoo! IM name of the author of the current post.
    1561  *
    1562  * @since 1.5
    1563  * @deprecated 2.8
    1564  * @uses $authordata The current author's DB object.
    1565  * @return string The author's Yahoo! IM name.
    1566  * @deprecated Use the_author_meta('yim')
    1567  */
    1568 function get_the_author_yim() {
    1569     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'yim\')' );
    1570     return get_the_author_meta('yim');
    1571 }
    1572 
    1573 /**
    1574  * Display the Yahoo! IM name of the author of the current post.
    1575  *
    1576  * @link http://codex.wordpress.org/Template_Tags/the_author_yim
    1577  * @since 0.71
    1578  * @deprecated 2.8
    1579  * @deprecated Use the_author_meta('yim')
    1580  */
    1581 function the_author_yim() {
    1582     _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'yim\')' );
    1583     the_author_meta('yim');
    1584 }
    1585 
    1586 /**
    1587  * Retrieve the MSN address of the author of the current post.
    1588  *
    1589  * @since 1.5
    1590  * @deprecated 2.8
    1591  * @uses $authordata The current author's DB object.
    1592  * @return string The author's MSN address.
    1593  * @deprecated Use the_author_meta('msn')
    1594  */
    1595 function get_the_author_msn() {
    1596     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'msn\')' );
    1597     return get_the_author_meta('msn');
    1598 }
    1599 
    1600 /**
    1601  * Display the MSN address of the author of the current post.
    1602  *
    1603  * @link http://codex.wordpress.org/Template_Tags/the_author_msn
    1604  * @since 0.71
    1605  * @deprecated 2.8
    1606  * @see get_the_author_msn()
    1607  * @deprecated Use the_author_meta('msn')
    1608  */
    1609 function the_author_msn() {
    1610     _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'msn\')' );
    1611     the_author_meta('msn');
    1612 }
    1613 
    1614 /**
    1615  * Retrieve the AIM address of the author of the current post.
    1616  *
    1617  * @since 1.5
    1618  * @deprecated 2.8
    1619  * @uses $authordata The current author's DB object.
    1620  * @return string The author's AIM address.
    1621  * @deprecated Use the_author_meta('aim')
    1622  */
    1623 function get_the_author_aim() {
    1624     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'aim\')' );
    1625     return get_the_author_meta('aim');
    1626 }
    1627 
    1628 /**
    1629  * Display the AIM address of the author of the current post.
    1630  *
    1631  * @link http://codex.wordpress.org/Template_Tags/the_author_aim
    1632  * @since 0.71
    1633  * @deprecated 2.8
    1634  * @see get_the_author_aim()
    1635  * @deprecated Use the_author_meta('aim')
    1636  */
    1637 function the_author_aim() {
    1638     _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'aim\')' );
    1639     the_author_meta('aim');
    1640 }
    1641 
    1642 /**
    1643  * Retrieve the specified author's preferred display name.
    1644  *
    1645  * @since 1.0.0
    1646  * @deprecated 2.8
     1694 * @deprecated Use get_the_author_meta('display_name')
     1695 * @see get_the_author_meta()
     1696 *
    16471697 * @param int $auth_id The ID of the author.
    16481698 * @return string The author's display name.
    1649  * @deprecated Use the_author_meta('display_name')
    16501699 */
    16511700function get_author_name( $auth_id = false ) {
    1652     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'display_name\')' );
     1701    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'display_name\')' );
    16531702    return get_the_author_meta('display_name', $auth_id);
    16541703}
     
    16591708 * @since 1.5
    16601709 * @deprecated 2.8
    1661  * @uses $authordata The current author's DB object.
     1710 * @deprecated Use get_the_author_meta('url')
     1711 * @see get_the_author_meta()
     1712 *
    16621713 * @return string The URL to the author's page.
    16631714 */
    16641715function get_the_author_url() {
    1665     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'url\')' );
     1716    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'url\')' );
    16661717    return get_the_author_meta('url');
    16671718}
     
    16701721 * Display the URL to the home page of the author of the current post.
    16711722 *
    1672  * @link http://codex.wordpress.org/Template_Tags/the_author_url
    1673  * @since 0.71
    1674  * @deprecated 2.8
     1723 * @since 0.71
     1724 * @deprecated 2.8
     1725 * @deprecated Use the_author_meta('url')
     1726 * @see the_author_meta()
    16751727 */
    16761728function the_author_url() {
    1677     _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'url\')' );
     1729    _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'url\')' );
    16781730    the_author_meta('url');
    16791731}
     
    16841736 * @since 1.5
    16851737 * @deprecated 2.8
     1738 * @deprecated Use get_the_author_meta('ID')
     1739 * @see get_the_author_meta()
     1740 *
    16861741 * @return int The author's ID.
    16871742 */
    16881743function get_the_author_ID() {
    1689     _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'ID\')' );
     1744    _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'ID\')' );
    16901745    return get_the_author_meta('ID');
    16911746}
     
    16941749 * Display the ID of the author of the current post.
    16951750 *
    1696  * @link http://codex.wordpress.org/Template_Tags/the_author_ID
    1697  * @since 0.71
    1698  * @deprecated 2.8
    1699  * @uses get_the_author_ID()
     1751 * @since 0.71
     1752 * @deprecated 2.8
     1753 * @deprecated Use the_author_meta('ID')
     1754 * @see the_author_meta()
    17001755*/
    17011756function the_author_ID() {
    1702     _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'ID\')' );
     1757    _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'ID\')' );
    17031758    the_author_meta('ID');
    17041759}
     
    17291784 *
    17301785 * @deprecated 2.9.0
     1786 * @deprecated Use the_content_feed()
     1787 * @see the_content_feed()
    17311788 *
    17321789 * @param string $more_link_text Optional. Text to display when more content is available but not displayed.
     
    17371794 */
    17381795function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) {
    1739     _deprecated_function(__FUNCTION__, '2.9', 'the_content_feed' );
     1796    _deprecated_function( __FUNCTION__, '2.9', 'the_content_feed' );
    17401797    $content = get_the_content($more_link_text, $stripteaser, $more_file);
    17411798    $content = apply_filters('the_content_rss', $content);
     
    17831840 */
    17841841function make_url_footnote( $content ) {
    1785     _deprecated_function(__FUNCTION__, '2.9', '' );
     1842    _deprecated_function( __FUNCTION__, '2.9', '' );
    17861843    preg_match_all( '/<a(.+?)href=\"(.+?)\"(.*?)>(.+?)<\/a>/', $content, $matches );
    17871844    $links_summary = "\n";
Note: See TracChangeset for help on using the changeset viewer.