diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 3b55c31196..6cf2ad2c7c 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1354,8 +1354,7 @@ function check_comment($author, $email, $url, $comment, $user_ip) { } function query_posts($query) { - global $wpdb, - $pagenow; + global $wpdb, $pagenow, $request; parse_str($query);