Make WordPress Core

Ticket #36735: 36735.patch

File 36735.patch, 452 bytes (added by ambrosey, 8 years ago)
  • wp-includes/js/media-editor.js

     
    232232                image: function( props, attachment ) {
    233233                        var img = {},
    234234                                options, classes, shortcode, html;
    235 
     235                        props.type='image';
    236236                        props = wp.media.string.props( props, attachment );
    237237                        classes = props.classes || [];
    238238