Customize: Use the correct variable when referring to the media frame.
Props celloexpressions. Fixes #36236. Built from https://develop.svn.wordpress.org/trunk@37955 git-svn-id: http://core.svn.wordpress.org/trunk@37896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
54c92d656f
commit
6f33a94487
|
@ -2443,7 +2443,7 @@
|
||||||
controller.setImageFromAttachment( croppedImage );
|
controller.setImageFromAttachment( croppedImage );
|
||||||
controller.frame.close();
|
controller.frame.close();
|
||||||
} ).fail( function() {
|
} ).fail( function() {
|
||||||
controller.trigger('content:error:crop');
|
controller.frame.trigger('content:error:crop');
|
||||||
} );
|
} );
|
||||||
} else {
|
} else {
|
||||||
this.frame.setState( 'cropper' );
|
this.frame.setState( 'cropper' );
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.6-beta1-37954';
|
$wp_version = '4.6-beta1-37955';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue