Make WordPress Core

Opened 13 years ago

Closed 11 years ago

#21078 closed defect (bug) (invalid)

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

Reported by: versluis's profile versluis Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.4
Component: Media Keywords: reporter-feedback close
Focuses: 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 (4)

#1 @nacin
13 years ago

  • 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.

#2 @ipstenu
13 years ago

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

#3 @azaozz
13 years ago

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

#4 @nacin
11 years ago

  • Component changed from Template to Media
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.