Skip to content

Commit e901a2f

Browse files
committed
- phpcs
1 parent dda02c9 commit e901a2f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Data/NodeResolver.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ public function resolve_uri( string $uri, $extra_query_vars = '' ) {
213213
// Resolve Post Objects.
214214
if ( $queried_object instanceof WP_Post ) {
215215

216-
217216
// If Page for Posts is set, we need to return the Page archive, not the page.
218217
if ( $query->is_posts_page ) {
219218
// If were intentionally querying for a something other than a ContentType, we need to return null instead of the archive.
@@ -501,7 +500,6 @@ public function parse_request( string $uri, $extra_query_vars = '' ) {
501500
}
502501
}
503502

504-
505503
/**
506504
* Filters the query variables allowed before processing.
507505
*
@@ -605,8 +603,6 @@ public function parse_request( string $uri, $extra_query_vars = '' ) {
605603
// We don't need the GraphQL args anymore.
606604
unset( $this->wp->query_vars['graphql'] );
607605

608-
609-
610606
do_action_ref_array( 'parse_request', [ &$this->wp ] );
611607

612608
return $uri;

0 commit comments

Comments
 (0)