#24147 closed defect (bug) (fixed)
Post Format Image breaks with themes other than Twenty Thirteen
Reported by: | crondeau | Owned by: | markjaquith |
---|---|---|---|
Milestone: | 3.6 | Priority: | high |
Severity: | normal | Version: | 3.6 |
Component: | Post Formats | Keywords: | has-patch |
Focuses: | Cc: |
Description
I've tested the new post format features with 2011, 2012 and 2013 and a few others at random.
When using themes other than Twenty Thirteen the HTML outputted is as follows:
<div class="post-format-content"> <p><img src="<a href="http://test.bluelimemedia.com/wp/wp-content/uploads/2013/04/iStock_000009713448XSmall.jpg"><img src="http://test.bluelimemedia.com/wp/wp-content/uploads/2013/04/iStock_000009713448XSmall.jpg" width="300" height="198" alt="iStock_000009713448XSmall" class="wp-image-14 alignleft size-medium" /></a>” alt=”" /></div>
This happens, when you create the new post format, use the select/upload image button and select an image.
If you don't use the select/upload image button, and simply insert the image url, then the format is fine.
Attachments (1)
Change History (9)
#2
@
12 years ago
- Keywords has-patch added; needs-patch removed
- Milestone changed from Awaiting Review to 3.6
#5
@
12 years ago
http://core.trac.wordpress.org/attachment/ticket/23965/23965.7.diff fixes some other things related to slurping images and is merged with Sergey's patch (they need each other) - at this point, this ticket is a dupe, but I'll let the Trac gods decide what to do
#6
@
12 years ago
Let's keep this ticket as a separate issue for easier tracking, as it's not directly related to caption.
Confirmed with Twenty Twelve.
Introduced in [24021]. A similar bug with
get_the_post_format_image()
is mentioned in ticket:23964:16.