From 616f7399dc4c4f7c56951c7b87a7aa91b3e690a3 Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 9 Jun 2008 11:14:46 +0000 Subject: Move SHORTINIT, need apply_filters(), fixes #649 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1323 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-settings.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'wp-settings.php') diff --git a/wp-settings.php b/wp-settings.php index b81dc9a..ae9e40c 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -232,12 +232,13 @@ if ( defined('CUSTOM_USER_META_TABLE') ) if( !defined( "UPLOADS" ) ) define( "UPLOADS", "wp-content/blogs.dir/{$wpdb->blogid}/files/" ); -if( defined( "SHORTINIT" ) && constant( "SHORTINIT" ) == true ) // stop most of WP being loaded, we just want the basics - return; - require (ABSPATH . WPINC . '/classes.php'); require (ABSPATH . WPINC . '/plugin.php'); require (ABSPATH . WPINC . '/default-filters.php'); + +if( defined( "SHORTINIT" ) && constant( "SHORTINIT" ) == true ) // stop most of WP being loaded, we just want the basics + return; + include_once(ABSPATH . WPINC . '/streams.php'); include_once(ABSPATH . WPINC . '/gettext.php'); require_once (ABSPATH . WPINC . '/l10n.php'); -- cgit