[buddypress-trac] [BuddyPress Trac] #6940: fatal error: bp_blogs_record_existing_blogs

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

#6940: fatal error:  bp_blogs_record_existing_blogs
 Reporter:  shanebp           |       Owner:
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Component - Core  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |

Comment (by r-a-y):

 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/6940#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list