From de4303a9a2aafa451f4c276d3de38161c8f927a1 Mon Sep 17 00:00:00 2001 From: Enej Bajgoric Date: Fri, 13 Apr 2018 12:13:50 -0700 Subject: [PATCH] Materbar: Remove the Next Steps link from master bar (#9311) Firest removed in Calypso in https://github.com/Automattic/wp-calypso/pull/23952 Then removed on .com in D11711-code This PR brings things in line. To test: load jetpack with the mastebar Notive that the section Next Steps is gone. --- modules/masterbar/masterbar.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/modules/masterbar/masterbar.php b/modules/masterbar/masterbar.php index 5045047b92f44..0542cb8c7d3ee 100644 --- a/modules/masterbar/masterbar.php +++ b/modules/masterbar/masterbar.php @@ -509,17 +509,7 @@ public function add_me_submenu( $wp_admin_bar ) { 'class' => 'mb-icon user-info-item', ), ) ); - - $wp_admin_bar->add_menu( array( - 'parent' => $id, - 'id' => 'next-steps', - 'title' => esc_html__( 'Next Steps', 'jetpack' ), - 'href' => 'https://wordpress.com/me/next', - 'meta' => array( - 'class' => 'mb-icon user-info-item', - ), - ) ); - + $help_link = 'https://jetpack.com/support/'; if ( jetpack_is_atomic_site() ) {