[wp-trac] [WordPress Trac] #13747: Deprecate is_term, is_taxonomy, is_post_type for *_exists()

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 7 10:36:26 UTC 2010


#13747: Deprecate is_term, is_taxonomy, is_post_type for *_exists()
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:  3.0       
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------

Comment(by t31os_):

 +1

 I am inclined to agree with demetris though, '''is_term''' i'm not too
 fussed about, but both '''is_tax''' and '''is_post_type''' are not
 appropriately named.

 I've just answered a thread relating to this very issue, where users were
 using '''is_post_type''' as a conditional statement, not user error
 really, it's misleading.

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


More information about the wp-trac mailing list