PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.2
Jetpack – WP Security, Backup, Speed, & Growth v16.2
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 13.9.2 14.0.1 14.1.1 All 503 releases
← All changes | modules/stats.php +1 -12 16.3-a.116.2 View file →
@@ -248,20 +248,9 @@
248 248 if ( ! Stats_Options::get_option( 'enable_odyssey_stats' ) || isset( $_GET['noheader'] ) ) {
249 249 // Show old Jetpack Stats interface for:
250 250 // - When the "enable_odyssey_stats" option is disabled.
251 251 // - When being shown in the adminbar outside of wp-admin.
252 - $hook = Admin_Menu::add_menu(
253 - __( 'Stats', 'jetpack' ),
254 - __( 'Stats', 'jetpack' ),
255 - 'view_stats',
256 - 'stats',
257 - 'jetpack_admin_ui_stats_report_page_wrapper',
258 - null,
259 - array(
260 - 'product' => 'stats',
261 - 'key' => 'jetpack-stats',
262 - )
263 - );
252 + $hook = Admin_Menu::add_menu( __( 'Stats', 'jetpack' ), __( 'Stats', 'jetpack' ), 'view_stats', 'stats', 'jetpack_admin_ui_stats_report_page_wrapper' );
264 253 add_action( "load-$hook", 'stats_reports_load' );
265 254 } else {
266 255 // Enable the new Odyssey Stats experience.
267 256 Stats_Dashboard::init();