Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #3856, comment 24


Ignore:
Timestamp:
03/05/2014 07:22:02 PM (10 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3856, comment 24

    initial v1  
    33I have one thing to add.
    44
    5 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 queries.
     5When an activity loop is made, the userdata (user_login, user_nicename, user_fullname) is already populated, we can use these items directly instead of calling bp_core_get_userlink(), which can lead to additional queries.
    66
    77Therefore, 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.