[wp-trac] [WordPress Trac] #11076: In get_terms(), allow 'include' & 'exclude' args to be arrays
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 4 22:41:20 UTC 2009
#11076: In get_terms(), allow 'include' & 'exclude' args to be arrays
-------------------------+--------------------------------------------------
Reporter: scribu | Owner: filosofo
Type: enhancement | Status: new
Priority: normal | Milestone: 2.9
Component: Taxonomy | Version:
Severity: normal | Keywords: has-patch tested
-------------------------+--------------------------------------------------
Most of the time, the term ids you want to include are retrieved as an
array, using $wpdb.
To avoid having to join(',', $term_ids), only to have them preg_split()
afterwards, I think this would be really useful.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11076>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list