X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/61343b82c4f0da4c68e4c6373daafff4a81efdd1..85ad385665744d9cc3bcd939906309be7268edb3:/wp-admin/network/themes.php diff --git a/wp-admin/network/themes.php b/wp-admin/network/themes.php index 711b44e0..aada6edb 100644 --- a/wp-admin/network/themes.php +++ b/wp-admin/network/themes.php @@ -8,7 +8,7 @@ */ /** Load WordPress Administration Bootstrap */ -require_once( './admin.php' ); +require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! is_multisite() ) wp_die( __( 'Multisite support is not enabled.' ) ); @@ -90,7 +90,6 @@ if ( $action ) { require_once(ABSPATH . 'wp-admin/admin-header.php'); echo '
'; - screen_icon(); echo '

' . esc_html( $title ) . '

'; $url = self_admin_url('update.php?action=update-selected-themes&themes=' . urlencode( join(',', $themes) )); @@ -137,7 +136,6 @@ if ( $action ) {
' . _n( 'Delete Theme', 'Delete Themes', $themes_to_delete ) . ''; ?>

@@ -220,14 +218,13 @@ get_current_screen()->set_help_sidebar( $title = __('Themes'); $parent_file = 'themes.php'; -wp_enqueue_script( 'theme' ); +wp_enqueue_script( 'theme-preview' ); require_once(ABSPATH . 'wp-admin/admin-header.php'); ?>
-

' . __('Search results for “%s”') . '', esc_html( $s ) ); ?>