[wp-trac] [WordPress Trac] #24003: Post Formats: get_the_post_format_media does not work without the $post global
WordPress Trac
noreply at wordpress.org
Tue Apr 9 13:43:23 UTC 2013
#24003: Post Formats: get_the_post_format_media does not work without the $post
global
--------------------------+-----------------------------
Reporter: kovshenin | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.6
Component: Post Formats | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"23937"]:
{{{
#!CommitTicketReference repository="" revision="23937"
Consistently use the function argument instead of the $post global in
get_the_post_format_media(). props kovshenin. fixes #24003.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24003#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list