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

add deprecation notice in theme export admin screen #540

Merged
merged 1 commit into from Apr 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions admin/create-theme/theme-form.php
Expand Up @@ -15,6 +15,17 @@ public static function create_admin_form_page() {
}
?>
<div class="wrap">
<div class="notice notice-warning">
<p>
<?php
printf(
/* translators: %s: editor link. */
esc_html__( 'This page is deprecated and will be removed in the next release. Please try exporting from the Create Block Theme menu of the %s instead.', 'create-block-theme' ),
' <a href="' . esc_url( '/wp-admin/site-editor.php?canvas=edit' ) . '">' . __( 'editor', 'create-block-theme' ) . '</a>'
);
?>
</p>
</div>
<h1><?php _ex( 'Create Block Theme', 'UI String', 'create-block-theme' ); ?></h1>
<p>
<?php
Expand Down