[wp-trac] [WordPress Trac] #12588: Add function to check if current page is a custom post type
WordPress Trac
wp-trac at lists.automattic.com
Fri May 7 13:19:05 UTC 2010
#12588: Add function to check if current page is a custom post type
----------------------------+-----------------------------------------------
Reporter: sirzooro | Owner: nacin
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.0
Component: Administration | Version: 3.0
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Changes (by scribu):
* keywords: has-patch =>
Comment:
Then the documentation should be updated to reflect that is_post_type()
only checks if a post if of a certain type.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12588#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list