Post Format Image breaks with themes other than Twenty Thirteen
|Reported by:||crondeau||Owned by:||markjaquith|
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.
Change History (9)
comment:2 SergeyBiryukov — 11 months ago
- Keywords has-patch added; needs-patch removed
- Milestone changed from Awaiting Review to 3.6
comment:7 markjaquith — 11 months ago
- Owner set to markjaquith
- Resolution set to fixed
- Status changed from new to closed