From 20181ba69744f32926b8cdcb350e6b3e7412518c Mon Sep 17 00:00:00 2001 From: ryan <ryan@1a063a9b-81f0-0310-95a4-ce76da25c4cd> Date: Thu, 4 Nov 2010 14:43:10 +0000 Subject: [PATCH] Use bool not string. Props TobiasBg. see #15170 git-svn-id: http://svn.automattic.com/wordpress/trunk@16181 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index 1120143f5c..d1d7228926 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -448,7 +448,7 @@ class WP_User_Query extends WP_Object_Query { if ( $search ) { $wild = false; if ( false !== strpos($search, '*') ) { - $wild = 'true'; + $wild = true; $search = trim($search, '*'); } if ( false !== strpos( $search, '@') )