Changeset 1323

Show
Ignore:
Timestamp:
06/09/08 11:14:46 (6 months ago)
Author:
donncha
Message:

Move SHORTINIT, need apply_filters(), fixes #649

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-settings.php

    r1322 r1323  
    233233        define( "UPLOADS", "wp-content/blogs.dir/{$wpdb->blogid}/files/" ); 
    234234 
    235 if( defined( "SHORTINIT" ) && constant( "SHORTINIT" ) == true ) // stop most of WP being loaded, we just want the basics 
    236         return; 
    237  
    238235require (ABSPATH . WPINC . '/classes.php'); 
    239236require (ABSPATH . WPINC . '/plugin.php'); 
    240237require (ABSPATH . WPINC . '/default-filters.php'); 
     238 
     239if( defined( "SHORTINIT" ) && constant( "SHORTINIT" ) == true ) // stop most of WP being loaded, we just want the basics 
     240        return; 
     241 
    241242include_once(ABSPATH . WPINC . '/streams.php'); 
    242243include_once(ABSPATH . WPINC . '/gettext.php');