From 69164aaa3a072f0b0715080778e98d68f4c34498 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 7 Feb 2023 17:40:19 +0000 Subject: [PATCH] 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 --- src/wp-admin/menu.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/wp-admin/menu.php b/src/wp-admin/menu.php index 05da5f213a..bd9e2c7779 100644 --- a/src/wp-admin/menu.php +++ b/src/wp-admin/menu.php @@ -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' ), - '' . __( 'beta' ) . '' - ), - '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' ) ) {