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:
parent
93a78f57b4
commit
bc07af7667
|
@ -992,7 +992,7 @@ class wpdb {
|
|||
return;
|
||||
|
||||
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();
|
||||
array_shift( $args );
|
||||
|
|
Loading…
Reference in New Issue