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

fixes #25622.


git-svn-id: https://develop.svn.wordpress.org/trunk@25836 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-10-17 23:23:42 +00:00
parent 8cb344e237
commit aa4635548d
1 changed files with 0 additions and 1 deletions

View File

@ -599,7 +599,6 @@ class Automatic_Upgrader_Skin extends WP_Upgrader_Skin {
// TODO: fix up request_filesystem_credentials(), or split it, to allow us to request a no-output version
// This will output a credentials form in event of failure, We don't want that, so just hide with a buffer
ob_start();
set_current_screen( 'tools' ); // Only here to avoid PHP Notices from screen_icon() which is used within that HTML
$result = parent::request_filesystem_credentials( $error );
ob_end_clean();
return $result;