[wp-trac] [WordPress Trac] #15016: Split wp_filter_object_list() in two

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 2 18:16:44 UTC 2010


#15016: Split wp_filter_object_list() in two
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:           
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  3.1      
Component:  General      |     Version:           
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15016>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list