[wp-trac] [WordPress Trac] #20519: PHP Notice in get_single_template()
WordPress Trac
noreply at wordpress.org
Thu Oct 25 12:54:52 UTC 2012
#20519: PHP Notice in get_single_template()
------------------------------+---------------------
Reporter: markjaquith | Owner: ryan
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: Warnings/Notices | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by ryan):
* owner: => ryan
* status: new => closed
* resolution: => fixed
Comment:
In [22293]:
{{{
#!CommitTicketReference repository="" revision="22293"
Avoid notices in get_*_template() functions that use get_queried_object(),
which can return null. Props wonderboymusic. fixes #20519
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20519#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list