Changeset 21651 for trunk/wp-includes/deprecated.php
- Timestamp:
- 08/28/2012 07:08:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/deprecated.php
r21597 r21651 3205 3205 _deprecated_function( __FUNCTION__, '3.5' ); 3206 3206 } 3207 3208 /** 3209 * Retrieve a single post, based on post ID. 3210 * 3211 * Has categories in 'post_category' property or key. Has tags in 'tags_input' 3212 * property or key. 3213 * 3214 * @since 1.0.0 3215 * @deprecated 3.5.0 3216 * @see get_post() 3217 * 3218 * @param int $postid Post ID. 3219 * @param string $mode How to return result, either OBJECT, ARRAY_N, or ARRAY_A. 3220 * @return object|array Post object or array holding post contents and information 3221 */ 3222 function wp_get_single_post( $postid = 0, $mode = OBJECT ) { 3223 _deprecated_function( __FUNCTION__, '3.5', 'get_post()' ); 3224 return get_post( $postid, $mode, 'edit' ); 3225 } 3226
Note: See TracChangeset
for help on using the changeset viewer.