Skip to content

Commit

Permalink
cacsp_is_search() function doesn't take a parameter.
Browse files Browse the repository at this point in the history
Prevents PHP notice (fatal error in 7.1+).

See #6560.
  • Loading branch information
boonebgorges committed Apr 24, 2017
1 parent 9822374 commit 0f7e237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ function cacsp_get_search_terms( $passed_terms = '' ) {

return apply_filters( 'cacsp_get_search_terms', $search_terms, $passed_terms );
}
function cacsp_is_search( $query ) {
function cacsp_is_search() {
// Assume false
$retval = false;

Expand Down

0 comments on commit 0f7e237

Please sign in to comment.