[wp-trac] [WordPress Trac] #16718: Deprecate in_category in favor of has_category
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 1 17:22:14 UTC 2011
#16718: Deprecate in_category in favor of has_category
-----------------------------+-------------------------------------
Reporter: Otto42 | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Keywords: needs-patch 2nd-opinion
-----------------------------+-------------------------------------
#12526 introduced has_category. There was some patches there which did and
did not deprecate in_category.
End result is that they're now both in category-template.php, doing the
exact same thing (serving as a wrapper to has_term).
I think we need some naming consistency here. Deprecate one or the other
of them in 3.2, perhaps.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16718>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list