WordPress.org

Make WordPress Core

Changeset 46348


Ignore:
Timestamp:
09/30/2019 12:04:46 AM (3 weeks ago)
Author:
desrosj
Message:

Upgrade/Install: Fix the Install Now button in the plugin overlay when running WordPress on a specific port.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/wp/updates.js

    r45979 r46348  
    24172417        $( window ).on( 'message', function( event ) {
    24182418            var originalEvent  = event.originalEvent,
    2419                 expectedOrigin = document.location.protocol + '//' + document.location.hostname,
     2419                expectedOrigin = document.location.protocol + '//' + document.location.host,
    24202420                message;
    24212421
Note: See TracChangeset for help on using the changeset viewer.