mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 07:07:38 +02:00
Upgrade/Install: In postMessage
events handler, check for message
object existence before checking its action
property.
Props manikmist09. Merges [42604] to the 4.9 branch. Fixes #43005. Built from https://develop.svn.wordpress.org/branches/4.9@42605 git-svn-id: http://core.svn.wordpress.org/branches/4.9@42434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ff4c656579
commit
2c492ab774
@ -2437,7 +2437,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if ( 'undefined' === typeof message.action ) {
|
||||
if ( ! message || 'undefined' === typeof message.action ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
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
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9.3-alpha-42603';
|
||||
$wp_version = '4.9.3-alpha-42605';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user