Remove accidental sprintf(), which also requires at least two arguments. :-)

see #22873.



git-svn-id: http://core.svn.wordpress.org/branches/3.5@23216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-12-27 16:44:59 +00:00
parent 93a78f57b4
commit bc07af7667
1 changed files with 1 additions and 1 deletions

View File

@ -992,7 +992,7 @@ class wpdb {
return; return;
if ( func_num_args() < 2 ) if ( func_num_args() < 2 )
_doing_it_wrong( 'wpdb::prepare', sprintf( 'wpdb::prepare() requires at least two arguments.' ), '3.5' ); _doing_it_wrong( 'wpdb::prepare', 'wpdb::prepare() requires at least two arguments.', '3.5' );
$args = func_get_args(); $args = func_get_args();
array_shift( $args ); array_shift( $args );