Skip to content

Commit

Permalink
Masterbar: Update the Reader link (#14214)
Browse files Browse the repository at this point in the history
* Update the Reader link to go to wordpress.com/read as we're performing A/B tests in Calypso on different default landing page destinations. Context: Automattic/wp-calypso#37547

* Update Reader link in Masterbar as well


Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>
  • Loading branch information
ramonjd and jeherve committed Dec 12, 2019
1 parent 2cf820b commit 3a6fdfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/calypsoify/class.jetpack-calypsoify.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public function modify_masterbar() {
$wp_admin_bar->add_node( $my_sites_node );

$reader_node = (object) $wp_admin_bar->get_node( 'newdash' );
$reader_node->href = 'https://wordpress.com';
$reader_node->href = 'https://wordpress.com/read';
$wp_admin_bar->add_node( $reader_node );

$me_node = (object) $wp_admin_bar->get_node( 'my-account' );
Expand Down
2 changes: 1 addition & 1 deletion modules/masterbar/masterbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ public function add_reader_submenu( $wp_admin_bar ) {

$following_title = $this->create_menu_item_pair(
array(
'url' => 'https://wordpress.com/',
'url' => 'https://wordpress.com/read',
'id' => 'wp-admin-bar-followed-sites',
'label' => esc_html__( 'Followed Sites', 'jetpack' ),
),
Expand Down

0 comments on commit 3a6fdfa

Please sign in to comment.