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

Props herregroen.
Merges [43065] to the 4.9 branch.
Fixes #43917.
Built from https://develop.svn.wordpress.org/branches/4.9@43066


git-svn-id: http://core.svn.wordpress.org/branches/4.9@42895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-05-01 22:10:26 +00:00
parent ee43146223
commit dc3d22edd9
2 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,8 @@ if ( !is_multisite() ) {
die(); die();
} }
nocache_headers();
if ( is_object( $wp_object_cache ) ) if ( is_object( $wp_object_cache ) )
$wp_object_cache->cache_enabled = false; $wp_object_cache->cache_enabled = false;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9.6-alpha-43064'; $wp_version = '4.9.6-alpha-43066';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.