From 2bc9ef93c124eb5d0b2d44111ec58d3e36f242cd Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 4 Nov 2010 14:43:10 +0000 Subject: [PATCH] Use bool not string. Props TobiasBg. see #15170 git-svn-id: https://develop.svn.wordpress.org/trunk@16181 602fd350-edb4-49c9-b593-d223f7449a82 --- 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, '@') )