mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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
This commit is contained in:
parent
de81cb4175
commit
5d319f00ac
@ -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',
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user