From ddcf72d638b6431442a923dc67e62bfc51aac3b9 Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Thu, 13 May 2010 21:40:42 +0000 Subject: [PATCH] block ms-files.php when not multisite, see #11742 git-svn-id: https://develop.svn.wordpress.org/trunk@14609 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/ms-files.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-includes/ms-files.php b/wp-includes/ms-files.php index f41639dd51..f5af8e0370 100644 --- a/wp-includes/ms-files.php +++ b/wp-includes/ms-files.php @@ -11,6 +11,9 @@ define( 'SHORTINIT', true ); require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); +if( !is_multisite() ) + die( 'Multisite support not enabled' ); + ms_file_constants(); error_reporting( 0 ); @@ -77,4 +80,4 @@ if ( ( $client_last_modified && $client_etag ) // If we made it this far, just serve the file readfile( $file ); -?> \ No newline at end of file +?>