From bc07af7667b47f3d83ba35fcbac691e89dd298a5 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 27 Dec 2012 16:44:59 +0000 Subject: [PATCH] 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 --- wp-includes/wp-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index e0b2009a11..b3aa8f6d20 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -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 );