[wp-trac] [WordPress Trac] #24272: gallery_shortcode() can throw a "trying to get property of non-object" notice if called without a post context
WordPress Trac
noreply at wordpress.org
Wed May 8 16:57:59 UTC 2013
#24272: gallery_shortcode() can throw a "trying to get property of non-object"
notice if called without a post context
--------------------------+---------------------
Reporter: kovshenin | Owner: ryan
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.6
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------
Changes (by ryan):
* owner: => ryan
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"24198"]:
{{{
#!CommitTicketReference repository="" revision="24198"
Avoid warning in gallery_shortcode() when called outside of post context.
Props kovshenin
fixes #24272
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24272#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list