[wp-trac] [WordPress Trac] #17573: More filters in user.php

WordPress Trac wp-trac at lists.automattic.com
Thu May 26 11:45:29 UTC 2011


#17573: More filters in user.php
---------------------------+-----------------------------
 Reporter:  hughwillfayle  |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Users          |    Version:
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 In the wp-includes/user.php there should be some more filters in the
 function prepare_query().

 e.G. before the line
 {{{
 $this->query_where .= $this->get_search_sql( $search, $search_columns,
 $wild );
 }}}
 this
 {{{
 $search_columns = apply_filters( 'user_list_search_columns',
 $search_columns );
 $this->query_where .= $this->get_search_sql( $search, $search_columns,
 $wild );
 }}}
 Also, in the sorting block:
 {{{
 $orderby = apply_filters( 'user_list_search_order_by', $orderby );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17573>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list