[buddypress-trac] [BuddyPress Trac] #5409: Changes to BP_Activity_Activity::get_last_updated() to get last id depending on contexts

buddypress-trac noreply at wordpress.org
Mon Feb 17 21:22:55 UTC 2014


#5409: Changes to BP_Activity_Activity::get_last_updated() to get last id
depending on contexts
--------------------------+-----------------------
 Reporter:  imath         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  2.0
Component:  Activity      |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------
 This patch suggests to modify
 {{{BP_Activity_Activity::get_last_updated()}}} in order to be able to get
 the last updated id for a context defined in arguments.
 This is a reply to the 3rd point of DJPaul in his
 [https://buddypress.trac.wordpress.org/ticket/5328#comment:10 comment] to
 #5328

 PS : i haven't find a core function to help us build the query, there's
 the method BP_Activity_Activity::get_id() that is approaching but would
 need to be changed to edit the search argument and to add an exclude
 argument, as 'last_activity' is a type of activity the "load newest"
 feature needs to exclude.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5409>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list