Skip to content

Commit

Permalink
Administration: Capitalize "Edit Site" strings for consistency.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
audrasjb committed Feb 20, 2025
1 parent 6bc569a commit ee94557
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/wp-admin/site-editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ static function ( $classes ) {
<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
Expand Down
4 changes: 2 additions & 2 deletions src/wp-includes/admin-bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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',
Expand Down

0 comments on commit ee94557

Please sign in to comment.