Opened 3 years ago
Closed 3 years ago
#15016 closed enhancement (fixed)
Split wp_filter_object_list() in two
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch |
| 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