PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.7
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.7
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 13.7.2 13.8.3 All 506 releases
← All changes | modules/subscriptions.php +4 -2 16.3-a.3 → 16.3-a.7 View file →
@@ -149,9 +149,9 @@
149 149 // Customize the configuration URL to lead to the Subscriptions settings.
150 150 add_filter(
151 151 'jetpack_module_configuration_url_subscriptions',
152 152 function () {
153 - return Jetpack::admin_url( array( 'page' => 'jetpack#/newsletter' ) );
153 + return Jetpack::admin_url( array( 'page' => 'jetpack-newsletter' ) );
154 154 }
155 155 );
156 156
157 157 // Track categories created through the category editor page
@@ -1076,8 +1076,10 @@
1076 1076 'jetpack-menu-jetpack-manage-subscribers',
1077 1077 array( 'site' => $blog_id ? $blog_id : $status->get_site_suffix() )
1078 1078 );
1079 1079
1080 + $position = defined( Admin_Menu::class . '::POSITION_EXTERNAL' ) ? Admin_Menu::POSITION_EXTERNAL : 100;
1081 +
1080 1082 Admin_Menu::add_menu(
1081 1083 __( 'Subscribers', 'jetpack' ),
1082 1084 __( 'Subscribers', 'jetpack' ) . ' <span aria-hidden="true">↗</span>',
1083 1085 'manage_options',
@@ -1082,9 +1084,9 @@
1082 1084 __( 'Subscribers', 'jetpack' ) . ' <span aria-hidden="true">↗</span>',
1083 1085 'manage_options',
1084 1086 esc_url( $link ),
1085 1087 null,
1086 - Admin_Menu::POSITION_EXTERNAL,
1088 + $position,
1087 1089 array( 'key' => 'jetpack-subscribers' )
1088 1090 );
1089 1091 }
1090 1092