[wp-trac] [WordPress Trac] #24147: Post Format Image breaks with themes other than Twenty Thirteen
WordPress Trac
noreply at wordpress.org
Sat Apr 20 22:26:07 UTC 2013
#24147: Post Format Image breaks with themes other than Twenty Thirteen
-----------------------------+--------------------------
Reporter: crondeau | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Post Formats
Version: trunk | Severity: normal
Keywords: needs-patch |
-----------------------------+--------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24147>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list