Make WordPress Core

Ticket #37126: 37126.diff

File 37126.diff, 454 bytes (added by Nikschavan, 8 years ago)

Revert github commit from shiny updates plugin - https://github.com/obenland/shiny-updates/pull/165

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

    diff --git src/wp-admin/js/updates.js src/wp-admin/js/updates.js
    index 053aabc..b1ea87f 100644
     
    20872087
    20882088                        $.support.postMessage = !! window.postMessage;
    20892089
    2090                         if ( false === $.support.postMessage || null === target ) {
     2090                        if ( false === $.support.postMessage || null === target || -1 !== window.parent.location.pathname.indexOf( 'update-core.php' ) ) {
    20912091                                return;
    20922092                        }
    20932093