mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@55281 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d91fd84eb1
commit
69164aaa3a
@ -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' );
|
||||
|
||||
if ( wp_is_block_theme() ) {
|
||||
$submenu['themes.php'][6] = array(
|
||||
sprintf(
|
||||
/* translators: %s: "beta" label */
|
||||
__( 'Editor %s' ),
|
||||
'<span class="awaiting-mod">' . __( 'beta' ) . '</span>'
|
||||
),
|
||||
'edit_theme_options',
|
||||
'site-editor.php',
|
||||
);
|
||||
$submenu['themes.php'][6] = array( _x( 'Editor', 'site editor menu item' ), 'edit_theme_options', 'site-editor.php' );
|
||||
}
|
||||
|
||||
if ( ! wp_is_block_theme() && current_theme_supports( 'block-template-parts' ) ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user