Skip to content

Commit

Permalink
Do not set up cross-origin isolation on edit tags page
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Dec 21, 2023
1 parent 000ba86 commit ac228a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit ac228a5

Please sign in to comment.