Restore some of the missing variables in wp_query.