#24147 closed defect (bug) (fixed)
Post Format Image breaks with themes other than Twenty Thirteen
| Reported by: | crondeau | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | high | Milestone: | 3.6 |
| Component: | Post Formats | Version: | 3.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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)
#5
@
13 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
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Confirmed with Twenty Twelve.
Introduced in [24021]. A similar bug with
get_the_post_format_image()is mentioned in ticket:23964:16.