[wp-trac] [WordPress Trac] #26740: Caption not working as intended
WordPress Trac
noreply at wordpress.org
Sun Dec 29 09:10:20 UTC 2013
#26740: Caption not working as intended
--------------------------+------------------------------
Reporter: SjoerdSmeets | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.8
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by SjoerdSmeets):
http://core.trac.wordpress.org/browser/trunk/src/wp-
admin/includes/media.php#L157
$shcode = '[caption id="' . $id . '" align="align' . $align . '"
width="' . $width . '"]' . $html . ' ' . $caption . '[/caption]';
should be changed to
$shcode = '[caption id="' . $id . '" align="align' . $align . '"
width="' . $width . '" caption="' . $caption . '"]' . $html .
'[/caption]';
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26740#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list