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:
parent
5c0333ce97
commit
10838cb5a0
|
@ -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' ) ) {
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue