Make WordPress Core

Changeset 24056


Ignore:
Timestamp:
04/22/2013 08:37:50 PM (11 years ago)
Author:
nacin
Message:

Add user_search_columns filter to WP_User_Query::prepare_query().

props aaroncampbell.
fixes #16366.

File:
1 edited

Legend:

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

    r23664 r24056  
    481481            }
    482482
     483            $search_columns = apply_filters( 'user_search_columns', $search_columns, $search, $this );
     484
    483485            $this->query_where .= $this->get_search_sql( $search, $search_columns, $wild );
    484486        }
Note: See TracChangeset for help on using the changeset viewer.