[wp-trac] [WordPress Trac] #20624: WP_User_Query filters

WordPress Trac wp-trac at lists.automattic.com
Sun May 6 21:01:19 UTC 2012


#20624: WP_User_Query filters
-------------------------------------------------+-------------------------
 Reporter:  Ninos Ego                            |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  General                              |  Review
 Severity:  minor                                |     Version:  3.4
 Keywords:  needs-patch has-patch needs-testing  |  Resolution:
-------------------------------------------------+-------------------------
Changes (by Ninos Ego):

 * keywords:  needs-patch => needs-patch has-patch needs-testing


Comment:

 think could fix the problem:
 add after line 521 in /wp-includes/user.php

 {{{
 $this->query_where = apply_filters_ref_array('posts_where', array(
 $this->query_where, &$this ) );
 $this->query_from = apply_filters_ref_array('posts_join', array(
 $this->query_from, &$this ) );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20624#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list