Make WordPress Core

Ticket #43843: signup_cache_headers.patch

File signup_cache_headers.patch, 459 bytes (added by herregroen, 6 years ago)
  • src/wp-signup.php

    diff --git src/wp-signup.php src/wp-signup.php
    index 92b6a21b4a..7ff5ebc8d4 100644
    add_action( 'wp_head', 'wp_no_robots' ); 
    77
    88require( dirname( __FILE__ ) . '/wp-blog-header.php' );
    99
     10nocache_headers();
     11
    1012if ( is_array( get_site_option( 'illegal_names' ) ) && isset( $_GET['new'] ) && in_array( $_GET['new'], get_site_option( 'illegal_names' ) ) ) {
    1113        wp_redirect( network_home_url() );
    1214        die();