WordPress.org

Make WordPress Core

Changeset 19886


Ignore:
Timestamp:
02/09/2012 05:15:24 PM (6 years ago)
Author:
ryan
Message:

Exclude user_url from default user search columns for large networks. fixes #19999

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/user.php

    r19882 r19886  
    486486                elseif ( is_numeric($search) )
    487487                    $search_columns = array('user_login', 'ID');
    488                 elseif ( preg_match('|^https?://|', $search) )
     488                elseif ( preg_match('|^https?://|', $search) && ! wp_is_large_network( 'users' ) )
    489489                    $search_columns = array('user_url');
    490490                else
Note: See TracChangeset for help on using the changeset viewer.