Opened 14 years ago
Closed 14 years ago
#20624 closed defect (bug) (wontfix)
WP_User_Query filters
| Reported by: | Ninos Ego | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Users | Version: | 3.1 |
| Severity: | minor | Keywords: | close |
| Cc: | Focuses: |
Description
the filters 'users_join' and 'users_where' are missing in the WP_User_Query..
Hope you can add this to ne next version (3.4), because it's very important for me..
Change History (5)
#2
@
14 years ago
- Keywords has-patch needs-testing added
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 ) );
#3
@
14 years ago
- Component General → Users
- Keywords has-patch removed
- Version 3.4 → 3.1
In your comment you are using the post query filter names. Also for 3.4 it's too late.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
also you can maybe add an orderby filter