Make WordPress Core


Ignore:
Timestamp:
11/15/2021 03:42:08 AM (3 years ago)
Author:
noisysocks
Message:

Editor: Fix how the Site Editor is linked to

  • Add 'Edit site' to the top admin bar.
  • Link to the Template and Template Part CPTs.
  • Add deep link to the Global Styles UI.

Follows [52069].
See #54337.

File:
1 edited

Legend:

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

    r52069 r52158  
    213213        'site-editor.php',
    214214    );
     215
     216    $submenu['themes.php'][7] = array(
     217        __( 'Styles' ),
     218        'edit_theme_options',
     219        'site-editor.php?styles=open',
     220    );
    215221}
    216222
Note: See TracChangeset for help on using the changeset viewer.