WordPress.org

Make WordPress Core

Ticket #33752: 33752.diff

File 33752.diff, 401 bytes (added by extendwings, 6 years ago)
  • wp-admin/admin.php

    diff --git a/wp-admin/admin.php b/wp-admin/admin.php
    index d3e58d2..b82b8e4 100644
    a b  
    264264                        include(WP_PLUGIN_DIR . "/$plugin_page");
    265265        }
    266266
    267         include(ABSPATH . 'wp-admin/admin-footer.php');
     267        if ( ! isset( $_GET['nofooter'] ) ) {
     268                include( ABSPATH . 'wp-admin/admin-footer.php' );
    268269
    269270        exit();
    270271} elseif ( isset( $_GET['import'] ) ) {