Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#7843 closed defect (bug) (wontfix)

Caption box should not have extra 10px

Reported by: atoon Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.6
Component: General Keywords:
Focuses: Cc:


The div created when one insert an image with caption has the width of the image plus 10px for a padding effect. I think that the extra 10px should be removed and the padding be handled thought CSS, since it cause problems with custom templates.

Change History (1)

comment:1 azaozz6 years ago

  • Milestone 2.7 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

It's very easy to copy the function that parses the [caption] shortcode to the theme's functions.php and redefine all of the tags/settings, then use the filter 'img_caption_shortcode' to replace the default.

Note: See TracTickets for help on using tickets.