[wp-trac] [WordPress Trac] #13747: Deprecate is_term, is_taxonomy, is_post_type for *_exists()
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 6 16:57:16 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:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Simply too much confusion, even with proper Codex documentation.
post_type_exists() explains a lot more than is_post_type() anyway.
We should reserve is_ for conditional tags as much as possible (aside from
functions clearly unrelated such as is_user_logged_in).
I wouldn't mind seeing this in 3.0 final, all we're doing is throwing in a
few deprecated functions that would wrap better-named functions.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13747>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list