PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
16.3 16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 All 508 releases
← All changes | _inc/lib/admin-pages/class.jetpack-settings-page.php +1 -3 16.3-a.5 → 16.3-a.1 View file →
@@ -44,10 +44,8 @@
44 44 * feature page happens to sort first. Only reachable offline, where My Jetpack's -10
45 45 * is never registered.
46 46 */
47 47 if ( ( new Status() )->is_offline_mode() ) {
48 - $position = defined( Admin_Menu::class . '::POSITION_FIRST_FALLBACK' ) ? Admin_Menu::POSITION_FIRST_FALLBACK : -5;
49 -
50 48 return Admin_Menu::add_menu(
51 49 __( 'Jetpack Settings', 'jetpack' ),
52 50 __( 'Modules', 'jetpack' ),
53 51 'jetpack_manage_modules',
@@ -52,9 +50,9 @@
52 50 __( 'Modules', 'jetpack' ),
53 51 'jetpack_manage_modules',
54 52 'jetpack_modules',
55 53 array( $this, 'render' ),
56 - $position
54 + Admin_Menu::POSITION_FIRST_FALLBACK
57 55 );
58 56 }
59 57
60 58 return add_submenu_page(