Editor: Remove "beta" label from Site Editor submenu item.

One year later, the beta phase is finally over.

Props priethor, matveb, audrasjb, hellofromtonya.
Fixes #57654.

Built from https://develop.svn.wordpress.org/trunk@55281


git-svn-id: http://core.svn.wordpress.org/trunk@54814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-02-07 17:42:24 +00:00
parent 5c0333ce97
commit 10838cb5a0
2 changed files with 2 additions and 10 deletions

View File

@ -203,15 +203,7 @@ if ( ! is_multisite() && current_user_can( 'update_themes' ) ) {
$submenu['themes.php'][5] = array( sprintf( __( 'Themes %s' ), $count ), $appearance_cap, 'themes.php' ); $submenu['themes.php'][5] = array( sprintf( __( 'Themes %s' ), $count ), $appearance_cap, 'themes.php' );
if ( wp_is_block_theme() ) { if ( wp_is_block_theme() ) {
$submenu['themes.php'][6] = array( $submenu['themes.php'][6] = array( _x( 'Editor', 'site editor menu item' ), 'edit_theme_options', 'site-editor.php' );
sprintf(
/* translators: %s: "beta" label */
__( 'Editor %s' ),
'<span class="awaiting-mod">' . __( 'beta' ) . '</span>'
),
'edit_theme_options',
'site-editor.php',
);
} }
if ( ! wp_is_block_theme() && current_theme_supports( 'block-template-parts' ) ) { if ( ! wp_is_block_theme() && current_theme_supports( 'block-template-parts' ) ) {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.2-alpha-55280'; $wp_version = '6.2-alpha-55281';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.