WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/19/2010 11:58:29 PM (10 years ago)
Author:
ryan
Message:

should not be an array of arrays. Props nickmomrik

File:
1 edited

Legend:

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

    r16473 r16497  
    453453            }
    454454            if ( false !== strpos( $search, '@') )
    455                 $search_columns[] = array('user_email');
     455                $search_columns = array('user_email');
    456456            elseif ( is_numeric($search) )
    457457                $search_columns = array('user_login', 'ID');
Note: See TracChangeset for help on using the changeset viewer.