[buddypress-trac] [BuddyPress Trac] #6596: bp_notifications_mark_notification not clearing cache

buddypress-trac noreply at wordpress.org
Thu Aug 20 10:20:57 UTC 2015


#6596: bp_notifications_mark_notification not clearing cache
--------------------------+-----------------------------
 Reporter:  thomaslhotta  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  API           |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Because {{{bp_notifications_mark_notification}}} does not pass the user ID
 in {{{$where_args}}} to {{{BP_Notifications_Notification::update}}} the
 notification cache is not cleared. This is a problem when using persistent
 object caches as it means the cache has to be cleared manually.

 Additionally the doc of {{{bp_notifications_mark_notification}}} seems to
 be wrong as the {{{$id}}} parameter is the notification ID and not the
 user ID.

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


More information about the buddypress-trac mailing list