[wp-trac] [WordPress Trac] #33907: is_single/singular/page @param inline docs don't list type

WordPress Trac noreply at wordpress.org
Thu Sep 24 16:17:25 UTC 2015


#33907: is_single/singular/page @param inline docs don't list type
------------------------------+---------------------------
 Reporter:  Shelob9           |       Owner:  DrewAPicture
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  General           |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+---------------------------
Changes (by DrewAPicture):

 * owner:   => DrewAPicture
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34502"]:
 {{{
 #!CommitTicketReference repository="" revision="34502"
 Docs: Add more explicit optional parameter types and return descriptions
 in the DocBlocks for `is_page()`, `is_single()`, `is_singular()`.

 Also adds explicit types and return descriptions to the corresponding
 `WP_Query` methods: `WP_Query::is_page()`, `WP_Query::is_single()`, and
 `WP_Query::is_singular()`.

 Props Shelob9 for the initial patch.
 Fixes #33907.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33907#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list