Ticket #22759: 22759.7.diff
File 22759.7.diff, 1.1 KB (added by , 12 years ago) |
---|
-
wp-includes/js/media-editor.js
555 555 556 556 options = { 557 557 id: attachment.id, 558 post_content: attachment.description 558 post_content: attachment.description, 559 post_excerpt: caption, 559 560 }; 560 561 561 562 if ( props.linkUrl ) … … 563 564 564 565 if ( 'image' === attachment.type ) { 565 566 html = wp.media.string.image( props ); 566 options.post_excerpt = caption;567 567 568 568 _.each({ 569 569 align: 'align', -
wp-includes/media.php
1751 1751 <# } #> 1752 1752 /> 1753 1753 </label> 1754 <label class="setting" data-setting="caption"> 1755 <span><?php _e('Caption'); ?></span> 1756 <textarea {{ maybeReadOnly }}>{{ data.caption }}</textarea> 1757 </label> 1754 1758 <# } #> 1755 1759 <label class="setting" data-setting="description"> 1756 1760 <span><?php _e('Description'); ?></span>