Changeset 1116

Show
Ignore:
Timestamp:
10/22/07 11:41:25 (1 year ago)
Author:
donncha
Message:

Move SHORTINIT check down so that apply_filters() function is loaded

Files:

Legend:

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

    r1069 r1116  
    188188if( !defined( "UPLOADS" ) ) 
    189189        define( "UPLOADS", "wp-content/blogs.dir/{$wpdb->blogid}/files/" ); 
    190 if( defined( "SHORTINIT" ) && constant( "SHORTINIT" ) == true ) // stop most of WP being loaded, we just want the basics 
    191         return; 
    192190 
    193191require (ABSPATH . WPINC . '/classes.php'); 
    194192require (ABSPATH . WPINC . '/plugin.php'); 
    195193require (ABSPATH . WPINC . '/default-filters.php'); 
     194 
     195if( defined( "SHORTINIT" ) && constant( "SHORTINIT" ) == true ) // stop most of WP being loaded, we just want the basics 
     196        return; 
     197 
    196198include_once(ABSPATH . WPINC . '/streams.php'); 
    197199include_once(ABSPATH . WPINC . '/gettext.php');