Make WordPress Core

Changeset 55281


Ignore:
Timestamp:
02/07/2023 05:40:19 PM (21 months ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/menu.php

    r54176 r55281  
    204204
    205205if ( wp_is_block_theme() ) {
    206     $submenu['themes.php'][6] = array(
    207         sprintf(
    208             /* translators: %s: "beta" label */
    209             __( 'Editor %s' ),
    210             '<span class="awaiting-mod">' . __( 'beta' ) . '</span>'
    211         ),
    212         'edit_theme_options',
    213         'site-editor.php',
    214     );
     206    $submenu['themes.php'][6] = array( _x( 'Editor', 'site editor menu item' ), 'edit_theme_options', 'site-editor.php' );
    215207}
    216208
Note: See TracChangeset for help on using the changeset viewer.