Skip to content

Commit

Permalink
phpcbf fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed Dec 14, 2024
1 parent cbb3ad3 commit 829e15a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/general-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@ function get_bsearch_header( $args = array() ) {
'post_types' => isset( $_GET['post_types'] ) ? sanitize_title( wp_unslash( $_GET['post_types'] ) ) : '', // phpcs:ignore WordPress.Security.NonceVerification.Recommended
);
$args = wp_parse_args( $args, $defaults );
$args['search_query'] = rawurlencode($args['search_query']);

$args['search_query'] = rawurlencode( $args['search_query'] );

$output = '';

Expand Down

0 comments on commit 829e15a

Please sign in to comment.