Opened 11 years ago
Closed 11 years ago
#26740 closed defect (bug) (invalid)
Caption not working as intended
Reported by: | SjoerdSmeets | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.8 |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
When adding an image with captions the format of the code is not according to the codex. On some sites this will work but on some it doesn't.
The caption should be placed within the opening [caption] tag and not after the img tag (before the closing caption tag). (As explained within the codex). Tested on WP3.8 and the latest nightly build. Both have this behaviour.
Change History (4)
#2
@
11 years ago
- Keywords needs-codex added
Note: See
TracTickets for help on using
tickets.
http://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/media.php#L157
should be changed to