WordPress.org

Make WordPress Core

Ticket #23197: 23197.diff

File 23197.diff, 591 bytes (added by johnbillion, 8 years ago)
  • wp-activate.php

    diff --git wp-activate.php wp-activate.php
    index 6a474b1..53dc2dc 100644
     
    66 * @package WordPress
    77 */
    88
    9 define( 'WP_INSTALLING', true );
    10 
    119/** Sets up the WordPress Environment. */
    1210require( dirname(__FILE__) . '/wp-load.php' );
    1311
     12add_action( 'wp_head', 'wp_no_robots' );
     13
    1414require( './wp-blog-header.php' );
    1515
    1616if ( !is_multisite() ) {
    if ( !is_multisite() ) { 
    1818        die();
    1919}
    2020
     21// Fix for page title
     22$wp_query->is_404 = false;
     23
    2124if ( is_object( $wp_object_cache ) )
    2225        $wp_object_cache->cache_enabled = false;
    2326