Skip to content

Commit

Permalink
get method array merging hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
willpercey-gb committed Jul 5, 2020
1 parent 1b78c16 commit 61feaca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extends/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function page($pageNo)

public function get(?array $args = null): \WP_Query
{
$query = array_merge($this->data, $this->query, $args);
$query = array_merge($this->data, $this->query);

if ($args) {
$query = array_merge($args, $query);
Expand Down

0 comments on commit 61feaca

Please sign in to comment.