WordPress.org

Make WordPress Core

Changeset 42604


Ignore:
Timestamp:
01/24/2018 10:30:12 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.
Fixes #43005.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/updates.js

    r42403 r42604  
    24242424            }
    24252425
    2426             if ( 'undefined' === typeof message.action ) {
     2426            if ( ! message || 'undefined' === typeof message.action ) {
    24272427                return;
    24282428            }
Note: See TracChangeset for help on using the changeset viewer.