From d1ae5f021a64efee7212193b1e0e1fcd3306e111 Mon Sep 17 00:00:00 2001 From: Cooper Dalrymple Date: Fri, 23 Jan 2026 09:34:32 -0600 Subject: [PATCH] Fix undefined array key notice --- inc/class-refresh.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/class-refresh.php b/inc/class-refresh.php index 554fb04..4309abc 100644 --- a/inc/class-refresh.php +++ b/inc/class-refresh.php @@ -53,7 +53,7 @@ final class Refresh { } public function handle_notices():void { - if (!current_user_can(self::CAPABILITY) || $_GET['page'] != Plugin::get_id() || !isset($_GET[self::ACTION])) return; + if (!current_user_can(self::CAPABILITY) || !isset($_GET['page']) || $_GET['page'] != Plugin::get_id() || !isset($_GET[self::ACTION])) return; printf( '

%s

', Plugin::esc_html__('All sort relationships successfully refreshed!')