[wp-trac] [WordPress Trac] #14034: is_single() or its documentation needs update

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 28 02:55:22 UTC 2010


#14034: is_single() or its documentation needs update
--------------------------+-------------------------------------------------
 Reporter:  sirzooro      |       Owner:                                      
     Type:  defect (bug)  |      Status:  new                                 
 Priority:  normal        |   Milestone:  3.1                                 
Component:  Inline Docs   |     Version:  3.0                                 
 Severity:  normal        |    Keywords:  needs-patch dev-feedback 2nd-opinion
--------------------------+-------------------------------------------------
Changes (by nacin):

  * component:  General => Inline Docs
  * milestone:  Awaiting Review => 3.1


Comment:

 IIRC: is_single() should return true for posts only. is_singular() returns
 true for pages, posts, and attachments.

 Let's fix the docs.

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


More information about the wp-trac mailing list