Skip to content

Commit

Permalink
Remove "Categories: hidden" from default pattern header (#718)
Browse files Browse the repository at this point in the history
* Remove Categories: hidden from default pattern header

* Remove Categories: hidden from theme utils test
  • Loading branch information
mikachan authored Sep 13, 2024
1 parent 1c4419a commit 8993439
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion includes/create-theme/theme-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ public static function pattern_from_template( $template, $new_slug = null ) {
/**
* Title: {$template->slug}
* Slug: {$pattern_slug}
* Categories: hidden
* Inserter: no
*/
?>
Expand Down
1 change: 0 additions & 1 deletion tests/test-theme-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ public function test_replace_namespace_in_pattern() {
/**
* Title: index
* Slug: old-slug/index
* Categories: hidden
* Inserter: no
*/
?>
Expand Down

0 comments on commit 8993439

Please sign in to comment.