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:
parent
d9b4dcf576
commit
2c96912612
|
@ -36,7 +36,6 @@ if ( isset($_GET['action']) ) {
|
|||
$url = 'update.php?action=update-selected&plugins=' . urlencode(implode(',', $plugins));
|
||||
$nonce = 'bulk-update-plugins';
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
|
||||
wp_enqueue_script('jquery');
|
||||
iframe_header();
|
||||
|
||||
|
@ -185,7 +184,6 @@ if ( isset($_GET['action']) ) {
|
|||
$url = 'update.php?action=update-selected-themes&themes=' . urlencode(implode(',', $themes));
|
||||
$nonce = 'bulk-update-themes';
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
|
||||
wp_enqueue_script('jquery');
|
||||
iframe_header();
|
||||
|
||||
|
|
Loading…
Reference in New Issue