From af04dc61a31a1351589b594d977351dfe6d8e6f3 Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Mon, 9 Sep 2024 12:56:03 +0100 Subject: [PATCH 1/2] Remove Categories: hidden from default pattern header --- includes/create-theme/theme-patterns.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/create-theme/theme-patterns.php b/includes/create-theme/theme-patterns.php index 0f9ee96f..44991853 100644 --- a/includes/create-theme/theme-patterns.php +++ b/includes/create-theme/theme-patterns.php @@ -9,7 +9,6 @@ public static function pattern_from_template( $template, $new_slug = null ) { /** * Title: {$template->slug} * Slug: {$pattern_slug} - * Categories: hidden * Inserter: no */ ?> From 314bc3407eaf7815d6bf802e590b172e0dcc7c54 Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Mon, 9 Sep 2024 13:20:29 +0100 Subject: [PATCH 2/2] Remove Categories: hidden from theme utils test --- tests/test-theme-utils.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test-theme-utils.php b/tests/test-theme-utils.php index 87727a00..d94953bb 100644 --- a/tests/test-theme-utils.php +++ b/tests/test-theme-utils.php @@ -9,7 +9,6 @@ public function test_replace_namespace_in_pattern() { /** * Title: index * Slug: old-slug/index - * Categories: hidden * Inserter: no */ ?>