WordPress.org

Make WordPress Core

Changeset 25836


Ignore:
Timestamp:
10/17/2013 11:23:42 PM (6 years ago)
Author:
nacin
Message:

set_current_screen() is now unnecessary in Automatic_Upgrader_Skin, which is good because it breaks things in the network admin.

fixes #25622.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader-skins.php

    r25807 r25836  
    600600        // This will output a credentials form in event of failure, We don't want that, so just hide with a buffer
    601601        ob_start();
    602         set_current_screen( 'tools' ); // Only here to avoid PHP Notices from screen_icon() which is used within that HTML
    603602        $result = parent::request_filesystem_credentials( $error );
    604603        ob_end_clean();
Note: See TracChangeset for help on using the changeset viewer.