Use $this->go_to() instead of setting the global $wp_query
Use $this->go_to() instead of setting the global $wp_query

As Pascal mentioned,
this can replace the need to set 3 properties
of $wp_query.

ampproject/amp-toolbox-php,ampproject/amp-toolbox-php