Wordpress 3.5.2
[autoinstalls/wordpress.git] / wp-includes / user.php
index bfc82f3349f8d3b29633e46399745030344f17d8..57f1ec94f97851fa39b5f613e12b03aa27736d12 100644 (file)
@@ -474,7 +474,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) && ! wp_is_large_network( 'users' ) )
+                               elseif ( preg_match('|^https?://|', $search) && ! ( is_multisite() && function_exists( 'wp_is_large_network' ) && wp_is_large_network( 'users' ) ) )
                                        $search_columns = array('user_url');
                                else
                                        $search_columns = array('user_login', 'user_nicename');