Ticket #27183: media-editor.js.patch
File media-editor.js.patch, 543 bytes (added by , 11 years ago) |
---|
-
wp-includes/js/media-editor.js
405 405 }); 406 406 } 407 407 408 409 _.each( this.defaults, function( value, key ) {408 // Remove default attributes from the shortcode. 409 _.each( wp.media.gallery.defaults, function( value, key ) { 410 410 if ( value === attrs[ key ] ) { 411 411 delete attrs[ key ]; 412 412 }