Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

62971: Replace "Edit site" with "Edit Site" #8369

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 _x( 'Edit Site', 'site editor heading' ); ?></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' => _x( 'Edit Site', 'site editor link from admin bar' ),
'href' => add_query_arg(
array(
'postType' => 'wp_template',
Expand Down
Loading