Skip to content

Commit

Permalink
add deprecation notice in theme export admin screen
Browse files Browse the repository at this point in the history
  • Loading branch information
madhusudhand committed Apr 4, 2024
1 parent 0630bf2 commit 7068b27
Showing 1 changed file with 11 additions and 0 deletions.
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

0 comments on commit 7068b27

Please sign in to comment.