Skip to content

Commit 28d33a2

Browse files
Add/my home to classic view (#36431)
* add menu page for my home * add changelog... * update capability to read * update order * bump order * make order a numeric string
1 parent d60c400 commit 28d33a2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: other
3+
4+
Add my home menu to atomic sites in classic view using nav unification.

projects/plugins/jetpack/modules/masterbar/admin-menu/class-admin-menu.php

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public function should_disable_links_manager() {
106106
public function add_my_home_menu() {
107107

108108
if ( self::DEFAULT_VIEW !== $this->get_preferred_view( 'index.php' ) ) {
109+
add_menu_page( __( 'My Home', 'jetpack' ), __( 'My Home', 'jetpack' ), 'read', 'https://wordpress.com/home/' . $this->domain, null, 'dashicons-admin-home', '1.5' );
109110
return;
110111
}
111112

0 commit comments

Comments
 (0)