[wp-trac] [WordPress Trac] #39211: is_page_template could return true on terms
WordPress Trac
noreply at wordpress.org
Fri Dec 9 19:30:09 UTC 2016
#39211: is_page_template could return true on terms
------------------------------------------+-----------------------
Reporter: natereist | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7.1
Component: Posts, Post Types | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses: template
------------------------------------------+-----------------------
Changes (by johnbillion):
* keywords: => needs-patch needs-unit-tests
* component: General => Posts, Post Types
* milestone: Awaiting Review => 4.7.1
Comment:
Introduced in [38951].
The `is_page()` check should have been replaced with an `is_singular()`
check.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39211#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list