[buddypress-trac] [BuddyPress Trac] #6370: Blogs: Improvements to bp_blogs_record_existing_blogs()

buddypress-trac noreply at wordpress.org
Fri May 27 05:21:20 UTC 2016

#6370: Blogs: Improvements to bp_blogs_record_existing_blogs()
 Reporter:  r-a-y                                 |       Owner:  r-a-y
     Type:  enhancement                           |      Status:  closed
 Priority:  normal                                |   Milestone:  2.6
Component:  Component - Blogs                     |     Version:  2.1
 Severity:  normal                                |  Resolution:  fixed
 Keywords:  dev-feedback needs-testing has-patch  |
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"10815"]:
 #!CommitTicketReference repository="" revision="10815"
 Blogs: Improve how `bp_blogs_record_existing_blogs()` operates.

 When the "Repopulate blogs records" is used from the "Tools > BuddyPress"
 page, on large site installs, this option isn't very effective.

 This commit improves `bp_blogs_record_existing_blogs()` by:
 - Recording an offset so the blog record repopulation can be resumed on
 - Only recording the root blog for the current user if run from single
 site. (See #6940.)
 - Fixing issues with blog count caches.
 - Giving each blog a better last activity timestamp by using the
 `last_updated` column from the `wp_blogs` DB table.
 - Supporting passing selected blog IDs in case a dev wants to re-record
 specific blogs.

 Fixes #6370.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6370#comment:13>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list