Administration: Capitalize "Edit Site" strings for consistency.

This changeset brings more consistency by capitalizing the "Edit Site" strings located in the Toolbar and on the Site Editor screen.

Props bronsonquick, sabernhardt, audrasjb, peterwilsoncc, adamsilverstein.
Fixes #62971.



git-svn-id: https://develop.svn.wordpress.org/trunk@59850 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2025-02-20 23:14:28 +00:00
parent 6bc569ab2f
commit ee9455762a
2 changed files with 3 additions and 3 deletions

View File

@ -265,7 +265,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="edit-site" id="site-editor">
<?php // JavaScript is disabled. ?>
<div class="wrap hide-if-js site-editor-no-js">
<h1 class="wp-heading-inline"><?php _e( 'Edit site' ); ?></h1>
<h1 class="wp-heading-inline"><?php _e( 'Edit Site' ); ?></h1>
<?php
/**
* Filters the message displayed in the site editor interface when JavaScript is

View File

@ -453,7 +453,7 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) {
}
/**
* Adds the "Edit site" link to the Toolbar.
* Adds the "Edit Site" link to the Toolbar.
*
* @since 5.9.0
* @since 6.3.0 Added `$_wp_current_template_id` global for editing of current template directly from the admin bar.
@ -479,7 +479,7 @@ function wp_admin_bar_edit_site_menu( $wp_admin_bar ) {
$wp_admin_bar->add_node(
array(
'id' => 'site-editor',
'title' => __( 'Edit site' ),
'title' => __( 'Edit Site' ),
'href' => add_query_arg(
array(
'postType' => 'wp_template',