From 6efb0c5d08c728ee5e5be510bdb90eb7b07ce416 Mon Sep 17 00:00:00 2001 From: Tetrakern <26898880+Tetrakern@users.noreply.github.com> Date: Thu, 10 Oct 2024 23:31:53 +0200 Subject: [PATCH] Fix mobile menu search page link vanishing --- includes/functions/hooks/_mobile_menu_hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions/hooks/_mobile_menu_hooks.php b/includes/functions/hooks/_mobile_menu_hooks.php index 2cdab688..cd999a6e 100644 --- a/includes/functions/hooks/_mobile_menu_hooks.php +++ b/includes/functions/hooks/_mobile_menu_hooks.php @@ -381,7 +381,7 @@ function fictioneer_mobile_user_menu() { if ( FICTIONEER_SHOW_SEARCH_IN_MENUS ) { $output['search'] = sprintf( - ' %s', + ' %s', esc_url( home_url( '/?s=' ) ), __( 'Search', 'fictioneer' ) );