From d9caaa267b1aad410a38a11c4fe323d3842d103c Mon Sep 17 00:00:00 2001 From: EarthlingDavey <15802017+EarthlingDavey@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:01:26 +0000 Subject: [PATCH] CDPT-2368 Remove unused filter. (#300) Remove unused filter. --- public/app/themes/justice/inc/security.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/public/app/themes/justice/inc/security.php b/public/app/themes/justice/inc/security.php index a4fd344f..c2507d33 100644 --- a/public/app/themes/justice/inc/security.php +++ b/public/app/themes/justice/inc/security.php @@ -42,9 +42,6 @@ public function actions(): void add_filter('wp_headers', [$this, 'headerMods']); add_filter('auth_cookie_expiration', [$this, 'setLoginPeriod'], 10, 0); - // Handle malformed URLs with arrays in the query string. - add_filter('login_init', [$this, 'validateLoginRequest'], 10, 0); - // Remove emoji support. remove_action('wp_head', 'print_emoji_detection_script', 7); remove_action('wp_print_styles', 'print_emoji_styles');