Make WordPress Core

Changeset 43031


Ignore:
Timestamp:
04/29/2018 11:09:55 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Login and Registration: Send nocache_headers() on Multisite signup pages.

Props herregroen.
Merges [43030] to the 4.9 branch.
Fixes #43843.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-signup.php

    r41911 r43031  
    77
    88require( dirname( __FILE__ ) . '/wp-blog-header.php' );
     9
     10nocache_headers();
    911
    1012if ( is_array( get_site_option( 'illegal_names' )) && isset( $_GET[ 'new' ] ) && in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) ) {
Note: See TracChangeset for help on using the changeset viewer.