[buddypress-trac] [BuddyPress] #5328: Use of the WordPress HeartBeat API to check for newest activities and to let user load them
buddypress-trac
noreply at wordpress.org
Wed Jan 8 08:00:51 UTC 2014
#5328: Use of the WordPress HeartBeat API to check for newest activities and to
let user load them
-----------------------------------+------------------------------
Reporter: imath | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Activity | Version: 1.9.1
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+------------------------------
Comment (by r-a-y):
Sweet! This will definitely be a great feature for 2.0.
Some quick thoughts:
* Instead of introducing a new static method
(`BP_Activity_Activity::get_lastest_recorded()`), would it be better to
improve the existing `BP_Activity_Activity::get_last_updated()` static
method instead?
* Instead of checking against the `date_recorded` column, would it be
better to use the `id` column?
* I'm surprised we don't have a `bp_is_activity_directory()` function!
We'll also need an option to disable the Heartbeat feature for sites that
want to turn it off. Other than that, I think it's a very good start!
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5328#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list