diff --git src/wp-activate.php src/wp-activate.php
index b13279a..bb0e0dc 100644
|
|
define( 'WP_INSTALLING', true ); |
11 | 11 | /** Sets up the WordPress Environment. */ |
12 | 12 | require( dirname(__FILE__) . '/wp-load.php' ); |
13 | 13 | |
14 | | require( dirname( __FILE__ ) . '/wp-blog-header.php' ); |
| 14 | require( ABSPATH . WPINC . '/template-loader.php' ); |
15 | 15 | |
16 | 16 | if ( !is_multisite() ) { |
17 | 17 | wp_redirect( wp_registration_url() ); |
… |
… |
if ( !is_multisite() ) { |
21 | 21 | if ( is_object( $wp_object_cache ) ) |
22 | 22 | $wp_object_cache->cache_enabled = false; |
23 | 23 | |
24 | | // Fix for page title |
25 | | $wp_query->is_404 = false; |
26 | | |
27 | 24 | /** |
28 | 25 | * Fires before the Site Activation page is loaded. |
29 | 26 | * |
diff --git src/wp-signup.php src/wp-signup.php
index 156de61..f2c677a 100644
|
|
require( dirname(__FILE__) . '/wp-load.php' ); |
5 | 5 | |
6 | 6 | add_action( 'wp_head', 'wp_no_robots' ); |
7 | 7 | |
8 | | require( dirname( __FILE__ ) . '/wp-blog-header.php' ); |
| 8 | require( ABSPATH . WPINC . '/template-loader.php' ); |
9 | 9 | |
10 | 10 | if ( is_array( get_site_option( 'illegal_names' )) && isset( $_GET[ 'new' ] ) && in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) ) { |
11 | 11 | wp_redirect( network_home_url() ); |
… |
… |
if ( !is_main_site() ) { |
37 | 37 | die(); |
38 | 38 | } |
39 | 39 | |
40 | | // Fix for page title |
41 | | $wp_query->is_404 = false; |
42 | | |
43 | 40 | /** |
44 | 41 | * Fires before the Site Signup page is loaded. |
45 | 42 | * |