Skip to content
Permalink
Browse files

Upgrade/Install: Fix the Install Now button in the plugin overlay whe…

…n running WordPress on a specific port.

Props garrett-eclipse, pierlo, afragen.
Fixes #48077.

git-svn-id: https://develop.svn.wordpress.org/trunk@46348 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
desrosj committed Sep 30, 2019
1 parent d6aa801 commit 1504804b7c37694372a4544010f793ff9d4ffb0d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/js/_enqueues/wp/updates.js
@@ -2416,7 +2416,7 @@
*/
$( window ).on( 'message', function( event ) {
var originalEvent = event.originalEvent,
expectedOrigin = document.location.protocol + '//' + document.location.hostname,
expectedOrigin = document.location.protocol + '//' + document.location.host,
message;

if ( originalEvent.origin !== expectedOrigin ) {

0 comments on commit 1504804

Please sign in to comment.
You can’t perform that action at this time.