Deprecate is_term, is_taxonomy, is_post_type for *_exists()
|Reported by:||nacin||Owned by:|
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.
Change History (13)
- Summary changed from Deprecate is_term, is_taxonomy, is_post_type for *_exists() to Deprecate is_term and is_taxonomy for *_exists()