Changeset 16255 for trunk/wp-includes/post.php
- Timestamp:
- 11/09/2010 10:14:38 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r16251 r16255 2255 2255 function wp_get_recent_posts( $args = array(), $output = ARRAY_A ) { 2256 2256 2257 if ( is_numeric( $args ) ) 2257 if ( is_numeric( $args ) ) { 2258 _deprecated_argument( __FUNCTION__, '3.1', __('Passing an integer number of posts is deprecated pass an array instead.' ) ); 2258 2259 $args = array( 'numberposts' => absint( $args ) ); 2259 2260 } 2261 2260 2262 // Set default arguments 2261 2263 $defaults = array(
Note: See TracChangeset
for help on using the changeset viewer.