mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 09:34:41 +00:00
Upgrade/Install: In postMessage events handler, check for message object existence before checking its action property.
Props manikmist09. Fixes #43005. git-svn-id: https://develop.svn.wordpress.org/trunk@42604 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2423,7 +2423,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if ( 'undefined' === typeof message.action ) {
|
||||
if ( ! message || 'undefined' === typeof message.action ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user