X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/6c8f14c09105d0afa4c1574215c59b5021040e76..41578db67d72562346e4dbb2a14889b23d522813:/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 '
' . __('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'); ?>