From 5d319f00ac5b969202324bcc8612f30c898c3639 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Mon, 3 Jun 2024 15:34:13 +0000 Subject: [PATCH] Toolbar: Restore "Edit site" on block editor admin bar link and replace multisite link. This changeset restores "Edit site" on the block editor link and replaces the multisite link with "Manage Site". Follow-up to [58035]. Props annezazu, johnbillion, Joen, audrasjb, johnjamesjacoby, oglekler, nilovelez, tobifjellner, sabernhardt, pavanpatil1, hitendra-chopda. Fixes #60977. Built from https://develop.svn.wordpress.org/trunk@58296 git-svn-id: http://core.svn.wordpress.org/trunk@57756 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/admin-bar.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index 8eb1e24e93..32271654e4 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -417,7 +417,7 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) { array( 'parent' => 'site-name', 'id' => 'edit-site', - 'title' => __( 'Edit Site' ), + 'title' => __( 'Manage Site' ), 'href' => network_admin_url( 'site-info.php?id=' . get_current_blog_id() ), ) ); @@ -477,7 +477,7 @@ function wp_admin_bar_edit_site_menu( $wp_admin_bar ) { $wp_admin_bar->add_node( array( 'id' => 'site-editor', - 'title' => __( 'Site Editor' ), + 'title' => __( 'Edit site' ), 'href' => add_query_arg( array( 'postType' => 'wp_template', diff --git a/wp-includes/version.php b/wp-includes/version.php index f2f1bb824e..9393511f2c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58295'; +$wp_version = '6.6-alpha-58296'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.