Changeset 55308 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 02/12/2023 06:06:33 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/deprecated.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r55258 r55308 1226 1226 1227 1227 /** 1228 * Retrieve an array of comment data about comment $comment_ ID.1228 * Retrieve an array of comment data about comment $comment_id. 1229 1229 * 1230 1230 * @since 0.71 … … 1232 1232 * @see get_comment() 1233 1233 * 1234 * @param int $comment_ IDThe ID of the comment1234 * @param int $comment_id The ID of the comment 1235 1235 * @param int $no_cache Whether to use the cache (cast to bool) 1236 1236 * @param bool $include_unapproved Whether to include unapproved comments 1237 1237 * @return array The comment data 1238 1238 */ 1239 function get_commentdata( $comment_ ID, $no_cache = 0, $include_unapproved = false ) {1239 function get_commentdata( $comment_id, $no_cache = 0, $include_unapproved = false ) { 1240 1240 _deprecated_function( __FUNCTION__, '2.7.0', 'get_comment()' ); 1241 return get_comment($comment_ ID, ARRAY_A);1241 return get_comment($comment_id, ARRAY_A); 1242 1242 } 1243 1243
Note: See TracChangeset
for help on using the changeset viewer.