mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Plupload: update to 2.1.8. Changelog: https://github.com/moxiecode/plupload/releases.
Hide the editor uploader overlay on all drop events in the window, not only when dropping on the editor uploader element. Fixes #34251, #22403. Built from https://develop.svn.wordpress.org/trunk@35019 git-svn-id: http://core.svn.wordpress.org/trunk@34984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
11def634f6
commit
8dd2a31c38
@ -7855,6 +7855,10 @@ EditorUploader = View.extend({
|
||||
|
||||
this.$document.on( 'dragstart dragend drop', _.bind( function( event ) {
|
||||
this.localDrag = event.type === 'dragstart';
|
||||
|
||||
if ( event.type === 'drop' ) {
|
||||
this.containerDragleave();
|
||||
}
|
||||
}, this ) );
|
||||
|
||||
this.initialized = true;
|
||||
|
2
wp-includes/js/media-views.min.js
vendored
2
wp-includes/js/media-views.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
17
wp-includes/js/plupload/plupload.full.min.js
vendored
17
wp-includes/js/plupload/plupload.full.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -288,7 +288,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
'error_uploading' => __('“%s” has failed to upload.')
|
||||
);
|
||||
|
||||
$scripts->add( 'plupload', '/wp-includes/js/plupload/plupload.full.min.js', array(), '2.1.1' );
|
||||
$scripts->add( 'plupload', '/wp-includes/js/plupload/plupload.full.min.js', array(), '2.1.8' );
|
||||
// Back compat handles:
|
||||
foreach ( array( 'all', 'html5', 'flash', 'silverlight', 'html4' ) as $handle ) {
|
||||
$scripts->add( "plupload-$handle", false, array( 'plupload' ), '2.1.1' );
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-35018';
|
||||
$wp_version = '4.4-alpha-35019';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user