diff --git a/includes/class-create-block-theme-api.php b/includes/class-create-block-theme-api.php index 02729f49..cb50a020 100644 --- a/includes/class-create-block-theme-api.php +++ b/includes/class-create-block-theme-api.php @@ -11,8 +11,6 @@ require_once __DIR__ . '/create-theme/theme-json.php'; require_once __DIR__ . '/create-theme/theme-utils.php'; require_once __DIR__ . '/create-theme/theme-readme.php'; -require_once __DIR__ . '/create-theme/theme-form.php'; -require_once __DIR__ . '/create-theme/form-messages.php'; require_once __DIR__ . '/create-theme/theme-fonts.php'; require_once __DIR__ . '/create-theme/theme-create.php'; diff --git a/includes/create-theme/form-messages.php b/includes/create-theme/form-messages.php deleted file mode 100644 index 95c4ed40..00000000 --- a/includes/create-theme/form-messages.php +++ /dev/null @@ -1,115 +0,0 @@ -

%2$s

', esc_attr( $class ), esc_html( $message ) ); - } - - public static function admin_notice_error_variation_name() { - $class = 'notice notice-error'; - $message = __( 'Please specify a variation name.', 'create-block-theme' ); - - printf( '

%2$s

', esc_attr( $class ), esc_html( $message ) ); - } - - public static function admin_notice_export_success() { - ?> -
-

-
- -
-

-
- -
-

- Themes to activate %1$s', 'create-block-theme' ), - esc_html( stripslashes( $theme_name ) ) - ); - ?> -

-
- get( 'Name' ); - $variation_name = get_stylesheet_directory() . DIRECTORY_SEPARATOR . 'styles' . DIRECTORY_SEPARATOR . $_POST['theme']['variation_slug'] . '.json'; - ?> -
-

- -

-
- get( 'Name' ); - $theme_dir = get_stylesheet_directory(); - ?> -
-

- -

-
- -
-

- -

-
- -
-

-
- -
-

-

-
- -
-
-

- ' . __( 'editor', 'create-block-theme' ) . '' - ); - ?> -

-
-

-

- get( 'Name' ) ) ); - ?> -

-

-
-
-
-
-

- -

-

- -

- - - -

- -

-

- -

- - - -

- -

-

- -

- -

- -

-

- -

- - - -

- -

-

- -

- -

- -

-

- -

- -

- -

-

- get( 'Name' ) ) - ); - ?> -

-
-
- -
-
- - - - - -
-
-
-

- -

-
-
-