diff --git a/src/js/_enqueues/lib/image-edit.js b/src/js/_enqueues/lib/image-edit.js index 3afbcdc812603..b41e93f55dc7d 100644 --- a/src/js/_enqueues/lib/image-edit.js +++ b/src/js/_enqueues/lib/image-edit.js @@ -255,8 +255,7 @@ * * @return {boolean} Always returns false. */ - monitorPopup : function(el) { - var $el = $( el ); + monitorPopup : function() { var $parent = document.querySelector( '.imgedit-rotate-menu-container' ); var $toggle = document.querySelector( '.imgedit-rotate-menu-container .imgedit-rotate' ); diff --git a/src/wp-admin/includes/image-edit.php b/src/wp-admin/includes/image-edit.php index 5c0d3d7f397d7..739b09f9a1fca 100644 --- a/src/wp-admin/includes/image-edit.php +++ b/src/wp-admin/includes/image-edit.php @@ -63,7 +63,7 @@ function wp_image_editor( $post_id, $msg = false ) {