Ticket #22640: 22640.diff
| File 22640.diff, 561 bytes (added by , 13 years ago) |
|---|
-
wp-includes/js/media-editor.js
45 45 sizes = attachment.sizes; 46 46 size = sizes && sizes[ props.size ] ? sizes[ props.size ] : attachment; 47 47 48 _.extend( props, _.pick( attachment, 'align', 'caption' ), {48 _.extend( props, _.pick( attachment, 'align', 'caption', 'alt' ), { 49 49 width: size.width, 50 50 height: size.height, 51 51 src: size.url,