Make WordPress Core

Ticket #62971: 62971.diff

File 62971.diff, 783 bytes (added by bronsonquick, 19 months ago)
  • src/wp-includes/admin-bar.php

    diff --git a/src/wp-includes/admin-bar.php b/src/wp-includes/admin-bar.php
    index 9bb26e7ed7..5fe00e9801 100644
    a b function wp_admin_bar_site_menu( $wp_admin_bar ) {  
    453453}
    454454
    455455/**
    456  * Adds the "Edit site" link to the Toolbar.
     456 * Adds the "Edit Site" link to the Toolbar.
    457457 *
    458458 * @since 5.9.0
    459459 * @since 6.3.0 Added `$_wp_current_template_id` global for editing of current template directly from the admin bar.
    function wp_admin_bar_edit_site_menu( $wp_admin_bar ) {  
    479479        $wp_admin_bar->add_node(
    480480                array(
    481481                        'id'    => 'site-editor',
    482                         'title' => __( 'Edit site' ),
     482                        'title' => __( 'Edit Site' ),
    483483                        'href'  => add_query_arg(
    484484                                array(
    485485                                        'postType' => 'wp_template',