Skip to content

Commit 0041e39

Browse files
Login and Registration: Send nocache_headers() on Multisite signup pages.
Props herregroen. Fixes #43843. git-svn-id: https://develop.svn.wordpress.org/trunk@43030 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a6fa935 commit 0041e39

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/wp-signup.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
99

10+
nocache_headers();
11+
1012
if ( 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();

0 commit comments

Comments
 (0)