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

buddypress-trac noreply at wordpress.org
Wed Mar 5 19:16:47 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 r-a-y):

 I've looked at the patches and they look great!

 I have one thing to add.

 When an activity loop is made, the userdata (user_login, user_nicename,
 user_fullname) are already populated, we can use these items directly
 instead of calling bp_core_get_userlink(), which can lead to additional

 Therefore, in 04.patch, I've added a new function called
 `bp_activity_get_userlink()` and replaced calls to
 `bp_core_get_userlink()` for all activity action callbacks.

 Let me know what you think.

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

More information about the buddypress-trac mailing list