--- a/wp/wp-includes/js/plupload/handlers.js Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/js/plupload/handlers.js Tue Sep 27 16:37:53 2022 +0200
@@ -149,7 +149,7 @@
jQuery( '.filename.original', item ).replaceWith( jQuery( '.filename.new', item ) );
// Bind Ajax to the new Delete button.
- jQuery( 'a.delete', item ).click( function(){
+ jQuery( 'a.delete', item ).on( 'click', function(){
// Tell the server to delete it. TODO: Handle exceptions.
jQuery.ajax({
url: ajaxurl,
@@ -167,7 +167,7 @@
});
// Bind Ajax to the new Undo button.
- jQuery( 'a.undo', item ).click( function(){
+ jQuery( 'a.undo', item ).on( 'click', function(){
// Tell the server to untrash it. TODO: Handle exceptions.
jQuery.ajax({
url: ajaxurl,