From 16c0ef82500204a47fb3c72eb33addd876054dbf Mon Sep 17 00:00:00 2001 From: John Spellman Date: Thu, 13 Apr 2023 09:15:11 -0600 Subject: [PATCH] Update conditional --- pantheon-advanced-page-cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pantheon-advanced-page-cache.php b/pantheon-advanced-page-cache.php index 2f7681b9..9ba54590 100644 --- a/pantheon-advanced-page-cache.php +++ b/pantheon-advanced-page-cache.php @@ -84,7 +84,7 @@ function pantheon_wp_clear_edge_all() { */ function pantheon_wp_prefix_surrogate_keys_with_blog_id( $keys ) { // Do not prefix keys if this is not a multisite install. - if ( ! defined( 'MULTISITE' ) && ! defined( 'WP_ALLOW_MULTISITE' ) ) { + if ( ! is_multisite() ) { return $keys; }