[buddypress-trac] [BuddyPress Trac] #3856: Saving activity update action as an array in db

buddypress-trac noreply at wordpress.org
Wed Mar 5 20:02:03 UTC 2014


#3856: Saving activity update action as an array in db
-----------------------------------+------------------
 Reporter:  modemlooper            |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  2.0
Component:  Activity               |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------

Comment (by boonebgorges):

 Thanks for looking, r-a-y!

 I'll do some more testing with your patch, but I'm 99% sure that your
 change is unnecessary. Since r8024, BP_User_Query caches
 'bp_core_userdata_' data, which includes user_nicename, etc. And
 BP_Activity_Activity::get_activity_data(), which runs just after each
 activity query, calls BP_User_Query for all activity users in the loop.
 That means that, by the time you get to the activity action callback
 functions, all the necessary data is already in the cache. Does that seem
 right?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3856#comment:25>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list