[buddypress-trac] [BuddyPress] #3147: BP_Core_User::$total_blogs

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Jul 29 21:16:47 UTC 2011


#3147: BP_Core_User::$total_blogs
-------------------------+-----------------------------
 Reporter:  Backie       |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  minor        |   Milestone:  Future Release
Component:  Core         |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+-----------------------------
Changes (by boonebgorges):

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


Comment:

 There may be a plugin that is extending BP_Core_User, and populating
 $total_blogs on their own. If I remove the declaration from the class,
 they'll get errors.

 As for the question of $total_groups and $total_friends, I think that we
 will leave them in case of a plugin using them. Since they are only
 populated if you pass $populate_extras = true to the constructor (it's
 false by default), the presence of these properties doesn't have any
 performance effects for the average user.

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


More information about the buddypress-trac mailing list