mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@46348 git-svn-id: http://core.svn.wordpress.org/trunk@46147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6e25a991a6
commit
8cb7c5c764
@ -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 ) {
|
||||
|
2
wp-admin/js/updates.min.js
vendored
2
wp-admin/js/updates.min.js
vendored
File diff suppressed because one or more lines are too long
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-beta1-46347';
|
||||
$wp_version = '5.3-beta1-46348';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user