[wp-trac] [WordPress Trac] #49362: The docs for is_page_template should clarify it is expecting a filename
WordPress Trac
noreply at wordpress.org
Wed Feb 5 03:12:27 UTC 2020
#49362: The docs for is_page_template should clarify it is expecting a filename
-------------------------------+-----------------------------
Reporter: mkaz | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.4
Component: Posts, Post Types | Version:
Severity: minor | Resolution: fixed
Keywords: has-patch | Focuses: template
-------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"47182" 47182]:
{{{
#!CommitTicketReference repository="" revision="47182"
Docs: Clarify that `is_page_template()` accepts a template filename, not
the `Template Name` file header.
Props mkaz.
Fixes #49362.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49362#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list