[wp-trac] [WordPress Trac] #16718: Deprecate in_category in favor of has_category

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 1 20:32:21 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                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |
-------------------------------------+------------------------------

Comment (by Otto42):

 Ah.. well, in that case, it might be worth making one call the other in
 order to avoid duplicated code and/or to prevent future changes from not
 happening to both of them.

 Also, might be worth switching twentyten to use has_category.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16718#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list