[wp-trac] [WordPress Trac] #2562: Add "only" option to get_*() functions

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 13 02:28:23 GMT 2006


#2562: Add "only" option to get_*() functions
----------------------------+-----------------------------------------------
       Id:  2562            |      Status:  new                     
Component:  Administration  |    Modified:  Mon Mar 13 02:28:23 2006
 Severity:  normal          |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.0.1                   
    Owner:  anonymous       |    Reporter:  ryan                    
----------------------------+-----------------------------------------------
 Add an "only" option that contains a list of IDs to include in list
 queries.  This is similar to the existing "exclude" option except instead
 of excluding IDs from the query it restricts the query to only those IDs
 specified.  get_posts(), get_pages(), get_categories(), and
 get_bookmarks() need this option.

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


More information about the wp-trac mailing list