PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 10.3
Jetpack – WP Security, Backup, Speed, & Growth v10.3
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 14.2.2 14.3.1 All 501 releases
← All changes | modules/stats.php +6 -2 10.2.310.3 View file →
@@ -394,10 +394,8 @@
394 394 if ( ! stats_set_options( $new_options ) ) {
395 395 return false;
396 396 }
397 397
398 - stats_update_blog();
399 -
400 398 return $new_options;
401 399 }
402 400
403 401 /**
@@ -942,14 +940,20 @@
942 940 $wp_admin_bar->add_menu( $menu );
943 941 }
944 942
945 943 /**
944 + *
945 + * Deprecated. The stats module should not update blog details. This is handled by Sync.
946 + *
946 947 * Stats Update Blog.
947 948 *
948 949 * @access public
949 950 * @return void
951 + *
952 + * @deprecated since 10.3.
950 953 */
951 954 function stats_update_blog() {
955 + deprecated_function( __METHOD__, 'jetpack-10.3' );
952 956 XMLRPC_Async_Call::add_call( 'jetpack.updateBlog', 0, stats_get_blog() );
953 957 }
954 958
955 959 /**