From ac0bf9d352c93b5d91bd393992a0f654d5ecf7c2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 1 May 2018 22:08:20 +0000 Subject: [PATCH] Login and Registration: Send `nocache_headers()` on Multisite account activation pages. Props herregroen. Fixes #43917. Built from https://develop.svn.wordpress.org/trunk@43065 git-svn-id: http://core.svn.wordpress.org/trunk@42894 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-activate.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-activate.php b/wp-activate.php index 78feda6a10..dc3a0d42f5 100644 --- a/wp-activate.php +++ b/wp-activate.php @@ -18,6 +18,8 @@ if ( ! is_multisite() ) { die(); } +nocache_headers(); + if ( is_object( $wp_object_cache ) ) { $wp_object_cache->cache_enabled = false; } diff --git a/wp-includes/version.php b/wp-includes/version.php index ae42ad043d..20e20fd70d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43063'; +$wp_version = '5.0-alpha-43065'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.