Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #5669, comment 21


Ignore:
Timestamp:
11/26/2014 04:48:09 PM (7 years ago)
Author:
imath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5669, comment 21

    initial v1  
    44Since the beginning of our discussions on this ticket, you've convinced me. The {{{buddypress()->activity->actions}}} thing was bothering me. So after a short night thinking about it, i thought let's try to do it to have an alternative to the way the patch was built so far.
    55
    6 So i've changed some functions and tried to build the tracking feature the lazyloading way. So in 5669.05.patch, i'm not using hook(s) to register a {{{buddypress()->activity->track}}} global anymore.
     6So i've changed some functions and tried to build the tracking feature the lazyloading way. So in [https://buddypress.trac.wordpress.org/attachment/ticket/5669/5669.05.patch 5669.05.patch], i'm not using hook(s) to register a {{{buddypress()->activity->track}}} global anymore.
    77
    88I now have a function i'm using just before publishing, updating or removing the activity : {{{bp_activity_get_post_type_tracking_args( $post_type = '' )}}}