summaryrefslogtreecommitdiffstats
path: root/wp-includes/admin-bar.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/admin-bar.php')
-rw-r--r--wp-includes/admin-bar.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php
index d709de1..39c8a0e 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() ),
)
);
@@ -455,6 +455,7 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) {
*
* @since 5.9.0
* @since 6.3.0 Added `$_wp_current_template_id` global for editing of current template directly from the admin bar.
+ * @since 6.6.0 Added the `canvas` query arg to the Site Editor link.
*
* @global string $_wp_current_template_id
*
@@ -481,6 +482,7 @@ function wp_admin_bar_edit_site_menu( $wp_admin_bar ) {
array(
'postType' => 'wp_template',
'postId' => $_wp_current_template_id,
+ 'canvas' => 'edit',
),
admin_url( 'site-editor.php' )
),