From 488ebec933be61f7a01a0ea3dba1ae6493d45a3b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 18 Feb 2021 11:28:06 +0000 Subject: [PATCH] External Libraries: Revert the change to the `tb_click()` function in the Thickbox library. The `blur()` method there is not the jQuery method, but is an HTML DOM method instead. This makes the Close button on the "View details" modal on Plugins screen functional again. Follow-up to [50367]. Props afragen. See #51812. Built from https://develop.svn.wordpress.org/trunk@50383 git-svn-id: http://core.svn.wordpress.org/trunk@49994 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/thickbox/thickbox.js | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/js/thickbox/thickbox.js b/wp-includes/js/thickbox/thickbox.js index fdd3bb991c..55c66caaf3 100644 --- a/wp-includes/js/thickbox/thickbox.js +++ b/wp-includes/js/thickbox/thickbox.js @@ -35,7 +35,7 @@ function tb_click(){ var a = this.href || this.alt; var g = this.rel || false; tb_show(t,a,g); - this.trigger( 'blur' ); + this.blur(); return false; } diff --git a/wp-includes/version.php b/wp-includes/version.php index c9c827bdea..e1cb4a9cf6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-beta3-50382'; +$wp_version = '5.7-beta3-50383'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.