Ticket #44394: patch.diff
File patch.diff, 505 bytes (added by , 6 years ago) |
---|
-
wp-includes/js/media-editor.js
diff --git a/wp-includes/js/media-editor.js b/wp-includes/js/media-editor.js index a88709c568..70d9edc07a 100644
a b 584 584 _.each( this.defaults, function( value, key ) { 585 585 attrs[ key ] = self.coerce( attrs, key ); 586 586 if ( value === attrs[ key ] && ( ! changed || value === wp.media._galleryDefaults[ key ] ) ) { 587 if ( 'columns' === key ) { 588 return; 589 } 587 590 delete attrs[ key ]; 588 591 } 589 592 } );