Media: Revert [46354] preventing bad clipping of text in image details page.
See #47115. Built from https://develop.svn.wordpress.org/trunk@46355 git-svn-id: http://core.svn.wordpress.org/trunk@46154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -3249,8 +3249,6 @@ Select = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.Select.prototype
|
||||
* Create the default states on the frame.
|
||||
*/
|
||||
createStates: function() {
|
||||
console.log("test");
|
||||
this.on( 'content:render:edit-image', this.editState, this );
|
||||
var options = this.options;
|
||||
|
||||
if ( this.options.states ) {
|
||||
@@ -3265,8 +3263,7 @@ Select = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.Select.prototype
|
||||
multiple: options.multiple,
|
||||
title: options.title,
|
||||
priority: 20
|
||||
}),
|
||||
new wp.media.controller.EditImage( { model: this.options.editImage } ),
|
||||
})
|
||||
]);
|
||||
},
|
||||
|
||||
|
||||
8
wp-includes/js/media-views.min.js
vendored
8
wp-includes/js/media-views.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user