diff --git a/wp-includes/js/plupload/handlers.js b/wp-includes/js/plupload/handlers.js index fa602daf43..e4ff962c97 100644 --- a/wp-includes/js/plupload/handlers.js +++ b/wp-includes/js/plupload/handlers.js @@ -399,7 +399,7 @@ jQuery( document ).ready( function( $ ) { var tryAgainCount = {}; var tryAgain; - $( '.media-upload-form' ).bind( 'click.uploader', function( e ) { + $( '.media-upload-form' ).on( 'click.uploader', function( e ) { var target = $( e.target ), tr, c; if ( target.is( 'input[type="radio"]' ) ) { // Remember the last used image size and alignment. @@ -557,7 +557,7 @@ jQuery( document ).ready( function( $ ) { uploader_init = function() { uploader = new plupload.Uploader( wpUploaderInit ); - $( '#image_resize' ).bind( 'change', function() { + $( '#image_resize' ).on( 'change', function() { var arg = $( this ).prop( 'checked' ); setResize( arg ); diff --git a/wp-includes/js/plupload/handlers.min.js b/wp-includes/js/plupload/handlers.min.js index b4563ba3f6..0708609706 100644 --- a/wp-includes/js/plupload/handlers.min.js +++ b/wp-includes/js/plupload/handlers.min.js @@ -1 +1 @@ -var uploader,uploader_init,topWin=window.dialogArguments||opener||parent||top;function fileQueued(e){jQuery(".media-blank").remove();var a=jQuery("#media-items").children(),r=post_id||0;1==a.length&&a.removeClass("open").find(".slidetoggle").slideUp(200),jQuery('
'+e+"
'+r+"
'+e+"
'+r+"