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

buddypress-trac noreply at wordpress.org
Thu Apr 14 22:59:07 UTC 2016

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

 * keywords:  dev-feedback needs-testing needs-refresh => dev-feedback
     needs-testing has-patch


 `03.patch` is refreshed and includes a few other changes:
 - Fix when setting a timestamp for a blog's last activity (comment:8)
 - Paul's recommendations from comment:5.
 - If the WP install is single site, we only record the blog for the
 current user only.  See also comment:6:ticket:6940 for more info.
 Recording one blog allows us to populate some blog meta that is required
 by activity tracking.
 - When fetching users with `get_users()` use `array( 'fields' => 'ID' )`.
 Since we only need the user ID, there is no need for us to fetch the
 entire `WP_User` object for all users.  This saves us some memory.

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

More information about the buddypress-trac mailing list