Skip to content

Commit 690ffed

Browse files
authored
Nav redesign: revert changes to Hosting menu (Automattic#37254)
1 parent 78c9b0f commit 690ffed

File tree

4 files changed

+25
-12
lines changed

4 files changed

+25
-12
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: removed
3+
4+
Nav Redesign: Revert Hosting menu changes

projects/packages/jetpack-mu-wpcom/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@automattic/jetpack-mu-wpcom",
4-
"version": "5.28.0",
4+
"version": "5.28.1-alpha",
55
"description": "Enhances your site with features powered by WordPress.com",
66
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/jetpack-mu-wpcom/#readme",
77
"bugs": {

projects/packages/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Jetpack_Mu_Wpcom main class.
1414
*/
1515
class Jetpack_Mu_Wpcom {
16-
const PACKAGE_VERSION = '5.28.0';
16+
const PACKAGE_VERSION = '5.28.1-alpha';
1717
const PKG_DIR = __DIR__ . '/../';
1818
const BASE_DIR = __DIR__ . '/';
1919
const BASE_FILE = __FILE__;

projects/packages/jetpack-mu-wpcom/src/features/wpcom-site-menu/wpcom-site-menu.php

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,6 @@ function wpcom_add_wpcom_menu_item() {
8484
null
8585
);
8686

87-
add_submenu_page(
88-
$parent_slug,
89-
esc_attr__( 'Overview', 'jetpack-mu-wpcom' ),
90-
esc_attr__( 'Overview', 'jetpack-mu-wpcom' ) . ' <span class="dashicons dashicons-external"></span>',
91-
'manage_options',
92-
esc_url( "https://wordpress.com/hosting/$domain" ),
93-
null
94-
);
95-
9687
add_submenu_page(
9788
$parent_slug,
9889
esc_attr__( 'Plans', 'jetpack-mu-wpcom' ),
@@ -140,6 +131,24 @@ function wpcom_add_wpcom_menu_item() {
140131
null
141132
);
142133

134+
add_submenu_page(
135+
$parent_slug,
136+
esc_attr__( 'Configuration', 'jetpack-mu-wpcom' ),
137+
esc_attr__( 'Configuration', 'jetpack-mu-wpcom' ),
138+
'manage_options',
139+
esc_url( "https://wordpress.com/hosting-config/$domain" ),
140+
null
141+
);
142+
143+
add_submenu_page(
144+
$parent_slug,
145+
esc_attr__( 'Monitoring', 'jetpack-mu-wpcom' ),
146+
esc_attr__( 'Monitoring', 'jetpack-mu-wpcom' ),
147+
'manage_options',
148+
esc_url( "https://wordpress.com/site-monitoring/$domain" ),
149+
null
150+
);
151+
143152
add_submenu_page(
144153
$parent_slug,
145154
esc_attr__( 'Connections', 'jetpack-mu-wpcom' ),
@@ -459,7 +468,7 @@ function wpcom_add_hosting_menu_intro_notice() {
459468
<div>
460469
<span class="title"><?php esc_html_e( 'WordPress.com', 'jetpack-mu-wpcom' ); ?></span><br />
461470
<span>
462-
<?php esc_html_e( 'Click "Hosting" in the sidebar to access the hosting overview and settings for plans, domains, emails, etc.', 'jetpack-mu-wpcom' ); ?>
471+
<?php esc_html_e( 'To access settings for plans, domains, emails, etc., click "Hosting" in the sidebar.', 'jetpack-mu-wpcom' ); ?>
463472
</span>
464473
</div>
465474
<a href="#" class="close-button" aria-label=<?php echo esc_attr__( 'Dismiss', 'jetpack-mu-wpcom' ); ?>>

0 commit comments

Comments
 (0)