[wp-trac] [WordPress Trac] #14634: Add $args to get_the_terms()
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 18 11:43:43 UTC 2010
#14634: Add $args to get_the_terms()
-------------------------+--------------------------------------------------
Reporter: joehoyle | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version: 3.0.1
Severity: normal | Keywords: get_the_terms, get_the_tmers_list
-------------------------+--------------------------------------------------
Currently, {{{get_the_terms()}}} only has two params: $id and $taxonomy.
It would be good to have a third argument $args which could be passed to
{{{wp_get_object_terms()}}}
Also, adding this to {{{get_the_term_list()}}} (which is when I found this
problem) to pass to
{{{get_the_terms()}}}
Sorry if this has been brought up before, adding this would allow me to
exclude the current term on my taxonomy list pages when I am using
{{{get_the_term_list()}}} to show a list's terms.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14634>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list