[wp-trac] [WordPress Trac] #48354: Stricter docs for is_page() and WP_Query::is_page()

WordPress Trac noreply at wordpress.org
Sun Mar 1 17:27:17 UTC 2020


#48354: Stricter docs for is_page() and WP_Query::is_page()
--------------------------------------+-----------------------------
 Reporter:  marekdedic                |       Owner:  SergeyBiryukov
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  5.5
Component:  Query                     |     Version:  5.2
 Severity:  minor                     |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:  docs
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47402" 47402]:
 {{{
 #!CommitTicketReference repository="" revision="47402"
 Docs: Use more specific type in parameter descriptions for `is_page()`,
 `is_single()`, `is_singular()`, and their `WP_Query` counterpart methods.

 Props marekdedic, shaharia.azam, shaampk1.
 Fixes #48354. See #48303.
 }}}

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


More information about the wp-trac mailing list