Use bool not string. Props TobiasBg. see #15170

git-svn-id: https://develop.svn.wordpress.org/trunk@16181 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-11-04 14:43:10 +00:00
parent ef025261e7
commit 2bc9ef93c1
1 changed files with 1 additions and 1 deletions

View File

@ -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, '@') )