Opened 11 months ago

Last modified 11 months ago

#21078 new defect (bug)

Image Captions are inserted without caption="..." inside the caption tag

Reported by: versluis Owned by:
Priority: normal Milestone: Awaiting Review
Component: Template Version: 3.4
Severity: normal Keywords: reporter-feedback close
Cc:

Description

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

Change History (3)

  • Component changed from General to Template
  • Keywords reporter-feedback close added; needs-patch removed
  • Severity changed from major to normal

This isn't a bug in core. I've posted on the thread. The one thing that could help is knowing what the themes in question are doing to cause problems.

Headway and Elegant Themes are the only ones I've heard of. Mostly headway.

This was also discussed in #18311 and the consensus was to change the shortcode format. +1 to close.

Note: See TracTickets for help on using tickets.