Make WordPress Core

Changeset 16262


Ignore:
Timestamp:
11/09/2010 08:01:56 PM (14 years ago)
Author:
ryan
Message:

Drop display_name from user search columns. It doesn't have an index. see #15170

File:
1 edited

Legend:

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

    r16225 r16262  
    459459                $search_columns = array('user_url');
    460460            else
    461                 $search_columns = array('user_login', 'user_nicename', 'display_name');
     461                $search_columns = array('user_login', 'user_nicename');
    462462
    463463            $this->query_where .= $this->get_search_sql( $search, $search_columns, $wild );
Note: See TracChangeset for help on using the changeset viewer.