Skip to content

Commit

Permalink
Tests: Empty Block Theme: Fix warning "Template part has been deleted…
Browse files Browse the repository at this point in the history
… or is unavailable: header"

- Caused by issue in WordPress/gutenberg#44243
  • Loading branch information
eliot-akira committed Jan 29, 2024
1 parent 8c99895 commit 6261d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/empty-block-theme/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- wp:template-part {"slug":"header","tagName":"header","theme":"emptytheme"} /-->
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:query {"queryId":1,"query":{"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","sticky":""}} -->
<div class="wp-block-query">
<!-- wp:post-template -->
Expand Down
2 changes: 1 addition & 1 deletion tests/empty-block-theme/templates/singular.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<!-- wp:template-part {"slug":"header","tagName":"header","theme":"emptytheme"} /-->
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:post-title /-->
<!-- wp:post-content {"layout":{"inherit":true}} /-->

0 comments on commit 6261d78

Please sign in to comment.