WordPress.org

Make WordPress Core

Changeset 42605


Ignore:
Timestamp:
01/24/2018 10:31:51 PM (20 months ago)
Author:
SergeyBiryukov
Message:

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.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-admin/js/updates.js

    r42046 r42605  
    24382438            }
    24392439
    2440             if ( 'undefined' === typeof message.action ) {
     2440            if ( ! message || 'undefined' === typeof message.action ) {
    24412441                return;
    24422442            }
Note: See TracChangeset for help on using the changeset viewer.