]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/network/theme-editor.php
WordPress 4.7
[autoinstalls/wordpress.git] / wp-admin / network / theme-editor.php
index f6ac9c2e08df92e73099ed30220389e9f4c8589f..c28c9675cccfa8772563c0c64e8fd477a341da3b 100644 (file)
@@ -8,9 +8,6 @@
  */
 
 /** Load WordPress Administration Bootstrap */
  */
 
 /** Load WordPress Administration Bootstrap */
-require_once( './admin.php' );
+require_once( dirname( __FILE__ ) . '/admin.php' );
 
 
-if ( ! is_multisite() )
-       wp_die( __( 'Multisite support is not enabled.' ) );
-
-require( '../theme-editor.php' );
\ No newline at end of file
+require( ABSPATH . 'wp-admin/theme-editor.php' );