[wp-trac] [WordPress Trac] #21078: Image Captions are inserted without caption="..." inside the caption tag

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 26 08:17:50 UTC 2012


#21078: Image Captions are inserted without caption="..." inside the caption tag
--------------------------+-----------------------------
 Reporter:  versluis      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.4
 Severity:  major         |   Keywords:  needs-patch
--------------------------+-----------------------------
 Since WordPress 3.4 captions are inserted this way:

 {{{
 [caption id="attachment_123" align="aligncenter" width="550"]
 <img src="...">My Caption[/caption]
 }}}

 This means themes cannot display them properly. Previous versions inserted
 the caption like this:

 {{{
 [caption id="attachment_123" align="aligncenter" width="550" caption="My
 Caption"]
 <img src="...">[/caption]
 }}}

 Here's a forum thread discussing the issue:
 http://wordpress.org/support/topic/caption-broken-in-new-34-posts

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21078>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list