[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 16:28:38 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):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"23938"]:
 {{{
 #!CommitTicketReference repository="" revision="23938"
 Use the function argument instead of the $post global in
 get_the_post_format_image(). props kovshenin. fixes #24003.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24003#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list