From 0ce733c78f86c4ea06dd0dde329fcca571179f50 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 1 Dec 2023 01:33:40 +0000 Subject: [PATCH] Upgrade/Install: Add port number to target origin when decrementing update counts. This ensures that the update counter bubble in the admin menu is properly decreased after a successful plugin or theme update from within the update iframe when the site uses a non-standard port number. Follow-up to [27280], [29357]. Props TobiasBg. Fixes #59987. git-svn-id: https://develop.svn.wordpress.org/trunk@57148 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-upgrader-skin.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-upgrader-skin.php b/src/wp-admin/includes/class-wp-upgrader-skin.php index 598724f61c..83b4ba472e 100644 --- a/src/wp-admin/includes/class-wp-upgrader-skin.php +++ b/src/wp-admin/includes/class-wp-upgrader-skin.php @@ -240,7 +240,14 @@ class WP_Upgrader_Skin { if ( defined( 'IFRAME_REQUEST' ) ) { echo ''; } else {