From 0da56e5c153e6812f318ddb63a8b9ee825cf4f0a Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 9 Feb 2012 17:15:24 +0000 Subject: [PATCH] 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 --- wp-includes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index 804a909369..e816865648 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -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');