Skip to content

Commit

Permalink
Add missing key.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc committed Jan 6, 2023
1 parent 6856e81 commit 950ee10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp.php
Expand Up @@ -429,7 +429,7 @@ public function parse_request( $extra_query_vars = '' ) {
continue;
}

$is_between = $this->query_vars[ $key ] >= $check['min'] && $this->query_vars <= $check['max'];
$is_between = $this->query_vars[ $key ] >= $check['min'] && $this->query_vars[ $key ] <= $check['max'];

if ( ! is_numeric( $this->query_vars[ $key ] ) || ! $is_between ) {
unset( $this->query_vars[ $key ] );
Expand Down

0 comments on commit 950ee10

Please sign in to comment.