X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/6c8f14c09105d0afa4c1574215c59b5021040e76..4713a14935b83517997f3c88f808eb41da55033d:/wp-admin/network/themes.php diff --git a/wp-admin/network/themes.php b/wp-admin/network/themes.php index 04840ee1..230463f3 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 ) . ''; ?>

@@ -214,18 +212,19 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' . '

' . __('Documentation on Network Themes') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Support Forums') . '

' ); $title = __('Themes'); $parent_file = 'themes.php'; +wp_enqueue_script( 'theme-preview' ); + require_once(ABSPATH . 'wp-admin/admin-header.php'); ?>
-

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