|  | @@ 455-460 (lines=6) @@ | 
                                                            
                                    | 452 |  | 			add_submenu_page( $appearance_slug, esc_attr__( 'Background', 'jetpack' ), __( 'Background', 'jetpack' ), $appearance_cap, esc_url( $customize_background_url ), null, 20 ); | 
                                                            
                                    | 453 |  | 		} | 
                                                            
                                    | 454 |  |  | 
                                                            
                                    | 455 |  | 		if ( current_theme_supports( 'widgets' ) ) { | 
                                                            
                                    | 456 |  | 			remove_submenu_page( 'themes.php', 'widgets.php' ); | 
                                                            
                                    | 457 |  |  | 
                                                            
                                    | 458 |  | 			$customize_menu_url = add_query_arg( array( 'autofocus' => array( 'panel' => 'widgets' ) ), $appearance_slug ); | 
                                                            
                                    | 459 |  | 			add_submenu_page( $appearance_slug, esc_attr__( 'Widgets', 'jetpack' ), __( 'Widgets', 'jetpack' ), $appearance_cap, esc_url( $customize_menu_url ), null, 20 ); | 
                                                            
                                    | 460 |  | 		} | 
                                                            
                                    | 461 |  |  | 
                                                            
                                    | 462 |  | 		if ( current_theme_supports( 'menus' ) || current_theme_supports( 'widgets' ) ) { | 
                                                            
                                    | 463 |  | 			remove_submenu_page( 'themes.php', 'nav-menus.php' ); | 
                                                                                
                                |  | @@ 462-467 (lines=6) @@ | 
                                                            
                                    | 459 |  | 			add_submenu_page( $appearance_slug, esc_attr__( 'Widgets', 'jetpack' ), __( 'Widgets', 'jetpack' ), $appearance_cap, esc_url( $customize_menu_url ), null, 20 ); | 
                                                            
                                    | 460 |  | 		} | 
                                                            
                                    | 461 |  |  | 
                                                            
                                    | 462 |  | 		if ( current_theme_supports( 'menus' ) || current_theme_supports( 'widgets' ) ) { | 
                                                            
                                    | 463 |  | 			remove_submenu_page( 'themes.php', 'nav-menus.php' ); | 
                                                            
                                    | 464 |  |  | 
                                                            
                                    | 465 |  | 			$customize_menu_url = add_query_arg( array( 'autofocus' => array( 'panel' => 'nav_menus' ) ), $appearance_slug ); | 
                                                            
                                    | 466 |  | 			add_submenu_page( $appearance_slug, esc_attr__( 'Menus', 'jetpack' ), __( 'Menus', 'jetpack' ), $appearance_cap, esc_url( $customize_menu_url ), null, 20 ); | 
                                                            
                                    | 467 |  | 		} | 
                                                            
                                    | 468 |  |  | 
                                                            
                                    | 469 |  | 		$this->migrate_submenus( 'themes.php', $appearance_slug ); | 
                                                            
                                    | 470 |  | 	} |