[wp-trac] [WordPress Trac] #48354: Stricter docs for is_page() and WP_Query::is_page()
WordPress Trac
noreply at wordpress.org
Sun Feb 2 04:22:01 UTC 2020
#48354: Stricter docs for is_page() and WP_Query::is_page()
--------------------------------------+---------------------
Reporter: marekdedic | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.4
Component: Query | Version: 5.2
Severity: minor | Resolution:
Keywords: good-first-bug has-patch | Focuses: docs
--------------------------------------+---------------------
Comment (by SergeyBiryukov):
Just noting the same should also be done for these functions:
* `is_post_type_archive()`
* `is_attachment()`
* `is_author()`
* `is_category()`
* `is_tag()`
* `is_tax()`
* `is_single()`
* `is_singular()`
and their `WP_Query` counterpart methods.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48354#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list