Skip to content

Commit

Permalink
Materbar: Remove the Next Steps link from master bar (#9311)
Browse files Browse the repository at this point in the history
Firest removed in Calypso in Automattic/wp-calypso#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.
  • Loading branch information
enejb authored Apr 13, 2018
1 parent 1776af2 commit de4303a
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions modules/masterbar/masterbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() ) {
Expand Down

0 comments on commit de4303a

Please sign in to comment.