remove redundant require()s in wp-admin/update.php. See #15679

git-svn-id: http://svn.automattic.com/wordpress/trunk@16735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-12-05 21:12:40 +00:00
parent d9b4dcf576
commit 2c96912612
1 changed files with 0 additions and 2 deletions

View File

@ -36,7 +36,6 @@ if ( isset($_GET['action']) ) {
$url = 'update.php?action=update-selected&plugins=' . urlencode(implode(',', $plugins)); $url = 'update.php?action=update-selected&plugins=' . urlencode(implode(',', $plugins));
$nonce = 'bulk-update-plugins'; $nonce = 'bulk-update-plugins';
require_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
wp_enqueue_script('jquery'); wp_enqueue_script('jquery');
iframe_header(); iframe_header();
@ -185,7 +184,6 @@ if ( isset($_GET['action']) ) {
$url = 'update.php?action=update-selected-themes&themes=' . urlencode(implode(',', $themes)); $url = 'update.php?action=update-selected-themes&themes=' . urlencode(implode(',', $themes));
$nonce = 'bulk-update-themes'; $nonce = 'bulk-update-themes';
require_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
wp_enqueue_script('jquery'); wp_enqueue_script('jquery');
iframe_header(); iframe_header();