Skip to content

Commit

Permalink
[Block Library]: Update the relationship of No results block to `an…
Browse files Browse the repository at this point in the history
…cestor` (WordPress#48348)

Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: gziolo <[email protected]>
Co-authored-by: webmandesign <[email protected]>
  • Loading branch information
5 people authored Dec 9, 2024
1 parent 5e3d575 commit 91b130b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ Contains the block elements used to render content when no query results are fou

- **Name:** core/query-no-results
- **Category:** theme
- **Parent:** core/query
- **Ancestor:** core/query
- **Supports:** align, color (background, gradients, link, text), interactivity (clientNavigation), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~

## Pagination
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" ],
"example": {
Expand Down

0 comments on commit 91b130b

Please sign in to comment.