From dc3d22edd99cc7c6e41733686f19b968d992e30d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 1 May 2018 22:10:26 +0000 Subject: [PATCH] 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 --- 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 0607dae840..6aae1ca8a0 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 1460917df1..18db84bf7d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.