[wp-trac] [WordPress Trac] #23255: get_post_format() can throw PHP notice and doesn't return WP_Error
WordPress Trac
noreply at wordpress.org
Mon Apr 22 20:41:17 UTC 2013
#23255: get_post_format() can throw PHP notice and doesn't return WP_Error
------------------------------+---------------------
Reporter: azaozz | Owner: nacin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.6
Component: Warnings/Notices | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by nacin):
* owner: => nacin
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"24057"]:
{{{
#!CommitTicketReference repository="" revision="24057"
Return false in get_post_format() if the post does not exist.
props adamsilverstein, ericlewis.
fixes #23255.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23255#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list