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:
ryan 2012-02-09 17:15:24 +00:00
parent bd6038ce1a
commit 0da56e5c15
1 changed files with 1 additions and 1 deletions

View File

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