[wp-trac] [WordPress Trac] #14034: is_single() or its documentation needs update
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 21 22:08:33 UTC 2010
#14034: is_single() or its documentation needs update
--------------------------+-------------------------------------------------
Reporter: sirzooro | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version: 3.0
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------------------------------
Comment(by nacin):
The inline docs are wrong. is_single is not true for pages.
is_singular is true for posts, pages, custom post types, attachments.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14034#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list