[wp-trac] [WordPress Trac] #30064: WP_User_Query should support orderby => include
WordPress Trac
noreply at wordpress.org
Fri Oct 24 19:50:30 UTC 2014
#30064: WP_User_Query should support orderby => include
-------------------------------------------------+-------------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.1
Component: Users | Version:
Severity: normal | Resolution:
Keywords: good-first-bug needs-unit-tests | Focuses:
needs-patch |
-------------------------------------------------+-------------------------
Changes (by boonebgorges):
* milestone: Future Release => 4.1
Comment:
Thanks, jipmoors! The logic here is good, but can be condensed a bit - we
have `wp_parse_id_list()` to do all that `array_filter()`,
`array_unique()`, etc. And since we need a parsed value for $include later
on in the function, we can set it once at the top, and then use the parsed
value below.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30064#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list