Use bool not string. Props TobiasBg. see #15170

git-svn-id: http://svn.automattic.com/wordpress/trunk@16181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-11-04 14:43:10 +00:00
parent 4e97737cbc
commit 20181ba697
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, '@') )