Ticket #43843: signup_cache_headers.patch
File signup_cache_headers.patch, 459 bytes (added by , 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' ); 7 7 8 8 require( dirname( __FILE__ ) . '/wp-blog-header.php' ); 9 9 10 nocache_headers(); 11 10 12 if ( is_array( get_site_option( 'illegal_names' ) ) && isset( $_GET['new'] ) && in_array( $_GET['new'], get_site_option( 'illegal_names' ) ) ) { 11 13 wp_redirect( network_home_url() ); 12 14 die();