Exclude user_url from default user search columns for large networks. fixes #19999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bd6038ce1a
commit
0da56e5c15
|
@ -485,7 +485,7 @@ class WP_User_Query {
|
|||
$search_columns = array('user_email');
|
||||
elseif ( is_numeric($search) )
|
||||
$search_columns = array('user_login', 'ID');
|
||||
elseif ( preg_match('|^https?://|', $search) )
|
||||
elseif ( preg_match('|^https?://|', $search) && ! wp_is_large_network( 'users' ) )
|
||||
$search_columns = array('user_url');
|
||||
else
|
||||
$search_columns = array('user_login', 'user_nicename');
|
||||
|
|
Loading…
Reference in New Issue