[buddypress-trac] [BuddyPress Trac] #7374: Add new filter to bp_activity_do_heartbeat()

buddypress-trac noreply at wordpress.org
Thu Dec 8 08:03:46 UTC 2016


#7374: Add new filter to bp_activity_do_heartbeat()
---------------------------------------+------------------
 Reporter:  wordpressrene              |       Owner:
     Type:  enhancement                |      Status:  new
 Priority:  normal                     |   Milestone:  2.8
Component:  Activity                   |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  good-first-bug needs-docs  |
---------------------------------------+------------------

Comment (by wordpressrene):

 I will correct the code.

 I don't know if somebody, who hasn't activated the heartbeat refresh needs
 to have the filter when returning early. In addition to this you can
 filter the return value of `bp_is_activity_heartbeat_active()` to prevent
 returning early. So I think we don't need to add the filter here. What do
 you think?

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


More information about the buddypress-trac mailing list