Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: bugfix

Stats: remove the wpcom blog details update that occurs when the stats module is first activated
8 changes: 6 additions & 2 deletions projects/plugins/jetpack/modules/stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,6 @@ function stats_upgrade_options( $options ) {
return false;
}

stats_update_blog();

return $new_options;
}

Expand Down Expand Up @@ -943,12 +941,18 @@ function stats_admin_bar_menu( &$wp_admin_bar ) {
}

/**
*
* Deprecated. The stats module should not update blog details. This is handled by Sync.
*
* Stats Update Blog.
*
* @access public
* @return void
*
* @deprecated since 10.3.
*/
function stats_update_blog() {
deprecated_function( __METHOD__, 'jetpack-10.3' );
XMLRPC_Async_Call::add_call( 'jetpack.updateBlog', 0, stats_get_blog() );
}

Expand Down