Opened 14 years ago
Closed 14 years ago
#15016 closed enhancement (fixed)
Split wp_filter_object_list() in two
Reported by: | scribu | Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
The wp_filter_object_list() is actually two distinct operations merged into one.
It would be better if each operation was split into it's own utility function:
wp_list_filter() - filter a list of objects wp_list_pluck() - pluck a field out of each object in a list
Attachments (3)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Use in WP_Query