[wp-trac] [WordPress Trac] #12526: Introduce has_term() to the tax API
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 1 22:28:01 UTC 2010
#12526: Introduce has_term() to the tax API
-------------------------------------+--------------------------------------
Reporter: ptahdunbar | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.1
Component: Taxonomy | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch needs-refresh |
-------------------------------------+--------------------------------------
Comment(by hakre):
Replying to [comment:9 scribu]:
> That would be inconsistent with all the rest of the tax api which has
$term
> first and $taxonomy second.
Oh that's not true. For example is_object_in_term() has $taxnomy first and
then $term. All the functions that make use of has_term not even have the
taxonomy name in their function name.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12526#comment:>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list