Better message.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-11-09 10:45:30 +00:00
parent fe28a9d18b
commit b14547df9b
1 changed files with 1 additions and 1 deletions

View File

@ -2255,7 +2255,7 @@ function wp_get_post_terms( $post_id = 0, $taxonomy = 'post_tag', $args = array(
function wp_get_recent_posts( $args = array(), $output = ARRAY_A ) {
if ( is_numeric( $args ) ) {
_deprecated_argument( __FUNCTION__, '3.1', __('Passing an integer number of posts is deprecated pass an array instead.' ) );
_deprecated_argument( __FUNCTION__, '3.1', __('Passing an integer number of posts is deprecated you should pass an array or arguments instead.' ) );
$args = array( 'numberposts' => absint( $args ) );
}