Skip to content

Commit

Permalink
Merge pull request #116 from airdrummer/master
Browse files Browse the repository at this point in the history
fix quoted search url
  • Loading branch information
ajaydsouza authored Dec 14, 2024
2 parents 0857b13 + b017bd2 commit cbb3ad3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/general-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ 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 );

Check warning on line 384 in includes/general-template.php

View workflow job for this annotation

GitHub Actions / PHPCS check

Equals sign not aligned with surrounding assignments; expected 17 spaces but found 5 spaces
$args['search_query'] = rawurlencode($args['search_query']);

Check failure on line 385 in includes/general-template.php

View workflow job for this annotation

GitHub Actions / PHPCS check

Tabs must be used to indent lines; spaces are not allowed

Check failure on line 385 in includes/general-template.php

View workflow job for this annotation

GitHub Actions / PHPCS check

Expected 1 spaces after opening parenthesis; 0 found

Check failure on line 385 in includes/general-template.php

View workflow job for this annotation

GitHub Actions / PHPCS check

Expected 1 spaces before closing parenthesis; 0 found

$output = '';

Expand Down

0 comments on commit cbb3ad3

Please sign in to comment.