[wp-trac] [WordPress Trac] #24188: Post Formats: get_the_post_format_image doesn't return the requested size

WordPress Trac noreply at wordpress.org
Thu Apr 25 10:54:07 UTC 2013


#24188: Post Formats: get_the_post_format_image doesn't return the requested size
--------------------------+--------------------
 Reporter:  kovshenin     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Post Formats  |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------
Changes (by kovshenin):

 * keywords:   => has-patch


Comment:

 Related to #23945 and #24002 but not duplicates. This has nothing to do
 with the way results are cached.

 [attachment:24188.diff] introduces a new function to get an attachment ID
 out of HTML containing an image. This function is then used in
 `get_the_post_format_image` where applicable. Somewhat regex-heavy.

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


More information about the wp-trac mailing list