Ticket #39703: 39703.1.patch
File 39703.1.patch, 1.1 KB (added by , 15 months ago) |
---|
-
src/wp-activate.php
11 11 /** Sets up the WordPress Environment. */ 12 12 require __DIR__ . '/wp-load.php'; 13 13 14 require __DIR__ . '/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() ); … … 68 68 $wp_object_cache->cache_enabled = false; 69 69 } 70 70 71 // Fix for page title.72 $wp_query->is_404 = false;73 74 71 /** 75 72 * Fires before the Site Activation page is loaded. 76 73 * -
src/wp-signup.php
5 5 6 6 add_filter( 'wp_robots', 'wp_robots_no_robots' ); 7 7 8 require __DIR__ . '/wp-blog-header.php';8 require ABSPATH . WPINC . '/template-loader.php'; 9 9 10 10 nocache_headers(); 11 11 … … 39 39 die(); 40 40 } 41 41 42 // Fix for page title.43 $wp_query->is_404 = false;44 45 42 /** 46 43 * Fires before the Site Sign-up page is loaded. 47 44 *