[buddypress-trac] [BuddyPress] #4856: Performance problem with bp_blogs_record_existing_blogs

buddypress-trac noreply at wordpress.org
Fri Apr 19 21:11:48 UTC 2013


#4856: Performance problem with bp_blogs_record_existing_blogs
-------------------------+---------------------------
 Reporter:  borkweb      |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  1.8
Component:  Blogs        |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"6930"]:
 {{{
 #!CommitTicketReference repository="" revision="6930"
 Don't query for entire user objects in bp_blogs_record_existing_blogs()

 When recording existing blogs, we only need user ids of blog members. So
 it's
 only necessary to query for the ID field when using get_users(). This
 should
 result in significant performance enhancements on large installations.

 Fixes #4856

 Props borkweb
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4856#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list