Changeset 23087
- Timestamp:
- 12/06/2012 03:36:17 AM (12 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/media-editor.js
r23083 r23087 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 … … 564 565 if ( 'image' === attachment.type ) { 565 566 html = wp.media.string.image( props ); 566 options.post_excerpt = caption;567 567 568 568 _.each({ -
trunk/wp-includes/media.php
r23083 r23087 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">
Note: See TracChangeset
for help on using the changeset viewer.