diff --git src/wp-admin/includes/class-wp-upgrader-skin.php src/wp-admin/includes/class-wp-upgrader-skin.php
index 598724f..a40660e 100644
|
|
class WP_Upgrader_Skin { |
240 | 240 | if ( defined( 'IFRAME_REQUEST' ) ) { |
241 | 241 | echo '<script type="text/javascript"> |
242 | 242 | if ( window.postMessage && JSON ) { |
243 | | window.parent.postMessage( JSON.stringify( { action: "decrementUpdateCount", upgradeType: "' . $type . '" } ), window.location.protocol + "//" + window.location.hostname ); |
| 243 | window.parent.postMessage( JSON.stringify( { action: "decrementUpdateCount", upgradeType: "' . $type . '" } ), window.location.protocol + "//" + window.location.hostname + ( "" !== window.location.port ? ":" + window.location.port : "" ) ); |
244 | 244 | } |
245 | 245 | </script>'; |
246 | 246 | } else { |