mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 02:49:04 +01:00
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:
parent
4e97737cbc
commit
20181ba697
@ -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, '@') )
|
||||
|
Loading…
Reference in New Issue
Block a user