Skip to content

Commit

Permalink
CDPT-2368 Remove unused filter. (#300)
Browse files Browse the repository at this point in the history
Remove unused filter.
  • Loading branch information
EarthlingDavey authored Dec 13, 2024
1 parent e933609 commit d9caaa2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions public/app/themes/justice/inc/security.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit d9caaa2

Please sign in to comment.