From 3f01db9dd9e664524e32e82103106893612e7b25 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Tue, 9 Nov 2010 10:45:30 +0000 Subject: [PATCH] Better message. git-svn-id: https://develop.svn.wordpress.org/trunk@16257 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 26382356eb..50472a0cf3 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -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 ) ); }