Opened 11 months ago
Last modified 11 months ago
#21119 new enhancement
Make WP_User_Query::prepare_query() public
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
WP_User_Query tries to follow the pattern from WP_Query, where if you don't pass any args, it won't run the query.
The problem is that you can't do anything with that instance afterwards; both prepare_query() and query() accept no parameters.
Attachments (1)
Note: See
TracTickets for help on using
tickets.

With the patch, it's now possible to do this: