Make WordPress Core


Ignore:
Timestamp:
08/04/2008 10:29:37 PM (16 years ago)
Author:
ryan
Message:

XML-RPC comments API. see #7446

File:
1 edited

Legend:

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

    r8285 r8543  
    12841284    return false;
    12851285}
     1286
     1287/**
     1288 * Retrieve an array of comment data about comment $comment_ID.
     1289 *
     1290 * @deprecated Use get_comment()
     1291 * @see get_comment()
     1292 * @since 0.71
     1293 *
     1294 * @uses $id
     1295 * @uses $wpdb Database Object
     1296 *
     1297 * @param int $comment_ID The ID of the comment
     1298 * @param int $no_cache Whether to use the cache or not (casted to bool)
     1299 * @param bool $include_unapproved Whether to include unapproved comments or not
     1300 * @return array The comment data
     1301 */
     1302function get_commentdata( $comment_ID, $no_cache = 0, $include_unapproved = false ) {
     1303    _deprecated_function( __FUNCTION__, '2.7', 'get_comment()' );
     1304    return get_comment($comment_ID, ARRAY_A);
     1305}
     1306
    12861307?>
Note: See TracChangeset for help on using the changeset viewer.