Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove font management #595

Merged
merged 11 commits into from
Apr 25, 2024
Merged
423 changes: 0 additions & 423 deletions admin/class-manage-fonts.php

This file was deleted.

45 changes: 0 additions & 45 deletions admin/class-react-app.php

This file was deleted.

30 changes: 0 additions & 30 deletions admin/font-helpers.php

This file was deleted.

114 changes: 0 additions & 114 deletions admin/manage-fonts/font-form-messages.php

This file was deleted.

34 changes: 0 additions & 34 deletions admin/manage-fonts/fonts-page.php

This file was deleted.

14 changes: 0 additions & 14 deletions admin/manage-fonts/google-fonts-page.php

This file was deleted.

19 changes: 0 additions & 19 deletions admin/manage-fonts/local-fonts-page.php

This file was deleted.

2 changes: 0 additions & 2 deletions includes/class-create-block-theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ private function load_dependencies() {
* The class responsible for defining all actions that occur in the admin area.
*/
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-create-theme.php';
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-manage-fonts.php';
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/wp-org-theme-directory.php';

require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-create-block-theme-api.php';
Expand All @@ -60,7 +59,6 @@ private function load_dependencies() {
private function define_admin_hooks() {

$plugin_admin = new Create_Block_Theme_Admin();
$manage_fonts_admin = new Manage_Fonts_Admin();
$wp_theme_directory = new WP_Theme_Directory();
$plugin_api = new Create_Block_Theme_API();
}
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"node": ">=18",
"npm": ">=9"
},
"main": "build/index.js",
"dependencies": {
"@codemirror/lang-json": "^6.0.1",
"@uiw/react-codemirror": "^4.21.24",
Expand All @@ -43,7 +42,7 @@
"simple-git": "^3.18.0"
},
"scripts": {
"build": "wp-scripts build src/index.js src/plugin-sidebar.js src/wp-org-theme-directory.js",
"build": "wp-scripts build src/plugin-sidebar.js src/wp-org-theme-directory.js",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:css:fix": "npm run lint:css -- --fix",
Expand All @@ -57,7 +56,7 @@
"test:php:watch": "wp-env run cli --env-cwd='wp-content/plugins/create-block-theme' composer run-script test:watch",
"test:php:setup": "wp-env start",
"packages-update": "wp-scripts packages-update",
"start": "wp-scripts start src/index.js src/plugin-sidebar.js src/wp-org-theme-directory.js",
"start": "wp-scripts start src/plugin-sidebar.js src/wp-org-theme-directory.js",
"composer": "wp-env run cli --env-cwd=wp-content/plugins/create-block-theme composer",
"update-version": "node update-version-and-changelog.js",
"prepare": "husky install",
Expand Down
42 changes: 0 additions & 42 deletions src/constants.js

This file was deleted.

27 changes: 0 additions & 27 deletions src/demo-text-input/axis-range-control.js

This file was deleted.

Loading
Loading