[wp-trac] [WordPress Trac] #25291: get_*_template() functions are way too presumptuous
WordPress Trac
noreply at wordpress.org
Thu Sep 12 05:31:16 UTC 2013
#25291: get_*_template() functions are way too presumptuous
----------------------------+-----------------------------
Reporter: wonderboymusic | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.7
Component: Template | Version: 1.5
Severity: normal | Resolution: fixed
Keywords: |
----------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"25386"]:
{{{
#!CommitTicketReference repository="" revision="25386"
Add sanity checks to `get_*_template()` functions to ensure that the
return value of `get_queried_object()` is compatible with the assumed
context.
Fixes #25291.
See #25282.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25291#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list