From ac228a58f38e7becdb56a1da75e0c29a0287b1d7 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 21 Dec 2023 17:55:38 +0100 Subject: [PATCH] Do not set up cross-origin isolation on edit tags page --- includes/Context.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Context.php b/includes/Context.php index 9bfb50444bda..a85645a115ee 100644 --- a/includes/Context.php +++ b/includes/Context.php @@ -95,7 +95,7 @@ public function is_amp(): bool { public function is_story_editor(): bool { $screen = \function_exists( 'get_current_screen' ) ? get_current_screen() : null; - return $screen && $this->story_post_type->get_slug() === $screen->post_type; + return $screen && $this->story_post_type->get_slug() === $screen->post_type && 'post' === $screen->base; } /**