Skip to content

Commit 1168a44

Browse files
committed
Added schema to theme.json file
1 parent 32c9f71 commit 1168a44

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/Handlers/Optimization/CleanUp.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ public static function removeEmbedFromRewrites(array $rules): array
163163
}
164164
}
165165

166-
167166
return $rules;
168167
}
169168

src/Handlers/Settings/ThemeSettings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static function make(): void
5050
__('Site Settings', 'starter-kit') // desc
5151
);
5252

53-
$container->set_page_parent('options-general.php'); // id of the "Appearance" admin section
53+
$container->set_page_parent('options-general.php'); // id of the "Settings" admin section
5454
$container->set_page_menu_title(__('Theme Settings'));
5555

5656

theme.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://schemas.wp.org/trunk/theme.json",
23
"version": 3,
34
"customTemplates": [
45
{

0 commit comments

Comments
 (0)