[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:58:39 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:  reopened
 Priority:  normal        |   Milestone:  3.6
Component:  Post Formats  |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------
Changes (by kovshenin):

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


Comment:

 [attachment:24003.2.diff] is a similar fix for `get_the_post_format_image`
 and `get_attached_images`. Sorry for not catching these together. Thought
 I'd squeeze it in here, but let me know if you want a separate ticket for
 this.

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


More information about the wp-trac mailing list