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

Props herregroen.
Fixes #43917.

git-svn-id: https://develop.svn.wordpress.org/trunk@43065 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2018-05-01 22:07:21 +00:00
parent 31ed6e771e
commit a7cdcb9725

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;
} }