Skip to content
Prev Previous commit
Next Next commit
Placate linter
  • Loading branch information
ockham committed Sep 11, 2023
commit 21bdf9ecbdc108acdb2a9a0c903fb11e8174d856
1 change: 0 additions & 1 deletion src/wp-content/themes/twentytwentyone/.npmrc

This file was deleted.

6 changes: 3 additions & 3 deletions tests/phpunit/tests/block-template-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function data_build_block_template_result_from_file_injects_theme_attribu
sprintf(
'<!-- wp:template-part {"slug":"header","align":"full","tagName":"header","className":"site-header","theme":"%s"} /-->',
$theme
)
),
),
array(
'template-with-nested-template-part.html',
Expand All @@ -192,11 +192,11 @@ public function data_build_block_template_result_from_file_injects_theme_attribu
<!-- wp:template-part {"slug":"header","align":"full","tagName":"header","className":"site-header","theme":"%s"} /-->
<!-- /wp:group -->',
$theme
)
),
),
array(
'template-with-template-part-with-existing-theme-attribute.html',
'<!-- wp:template-part {"slug":"header","theme":"fake-theme","align":"full", "tagName":"header","className":"site-header"} /-->'
'<!-- wp:template-part {"slug":"header","theme":"fake-theme","align":"full", "tagName":"header","className":"site-header"} /-->',
),
);
}
Expand Down