Skip to content

Commit

Permalink
[Block Library]: Update the relationship of some posts needed inside …
Browse files Browse the repository at this point in the history
…Query Loop to `ancestor`
  • Loading branch information
ntsekouras committed Feb 23, 2023
1 parent ec09ddc commit 8a1b889
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/post-template/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "core/post-template",
"title": "Post Template",
"category": "theme",
"parent": [ "core/query" ],
"ancestor": [ "core/query" ],
"description": "Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.",
"textdomain": "default",
"usesContext": [
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/query-no-results/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "No results",
"category": "theme",
"description": "Contains the block elements used to render content when no query results are found.",
"parent": [ "core/query" ],
"ancestor": [ "core/query" ],
"textdomain": "default",
"usesContext": [ "queryId", "query" ],
"supports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/query-pagination/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "core/query-pagination",
"title": "Pagination",
"category": "theme",
"parent": [ "core/query" ],
"ancestor": [ "core/query" ],
"description": "Displays a paginated navigation to next/previous set of posts, when applicable.",
"textdomain": "default",
"attributes": {
Expand Down

0 comments on commit 8a1b889

Please sign in to comment.