Skip to content

Commit

Permalink
fix: replace deprecated setQueryArg() with set_query_arg() in `co…
Browse files Browse the repository at this point in the history
…nnectedTaxonomies`
  • Loading branch information
justlevine committed Dec 30, 2023
1 parent 1051357 commit a3510a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Type/Connection/Taxonomies.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function register_connections() {
return null;
}
$resolver = new TaxonomyConnectionResolver( $source, $args, $context, $info );
$resolver->setQueryArg( 'in', $source->taxonomies );
$resolver->set_query_arg( 'in', $source->taxonomies );
return $resolver->get_connection();
},
]
Expand Down

0 comments on commit a3510a4

Please sign in to comment.