Skip to content

Commit

Permalink
Update class-disable-blog-functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidnelson committed Jun 16, 2024
1 parent e5c9627 commit 71229c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/class-disable-blog-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private function parse_query_string( $url ) {
$allowed_query_vars = array_filter(
$allowed_query_vars,
function ( $value ) {
return ! empty( $esc_html( $value ) );
return ! empty( esc_html( $value ) );
}
);
$query_vars = array_intersect_key( $query_vars, array_flip( $allowed_query_vars ) );
Expand All @@ -98,13 +98,13 @@ function ( $value ) {
$query_vars = array_filter(
$allowed_query_vars,
function ( $value ) {
return ! empty( $esc_html( $value ) );
return ! empty( esc_html( $value ) );
}
);
$query_vars = array_filter(
$query_vars,
function ( $value ) {
return ! empty( $esc_html( $value ) );
return ! empty( esc_html( $value ) );
},
ARRAY_FILTER_USE_KEY
);
Expand Down

0 comments on commit 71229c2

Please sign in to comment.