Skip to content

Commit

Permalink
Update class-posts-grid-block.php
Browse files Browse the repository at this point in the history
Closes #1972
  • Loading branch information
HardeepAsrani authored Nov 18, 2023
1 parent c5f093d commit fc660c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/render/class-posts-grid-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ protected function retrieve_posts( $attributes, $count_posts, $page_number, &$to
'order' => $attributes['order'],
'orderby' => $attributes['orderBy'],
'offset' => $offset,
'category' => $categories,
'cat' => $categories,
'suppress_filters' => false,
'no_found_rows' => true,
);
Expand Down

0 comments on commit fc660c4

Please sign in to comment.