buddypress/bp-notifications
r-a-y bdb1a79a02 Notifications: Invalidate cache when a notification is updated.
Object caching was added to the notifications component in r7813.
However, the cached item was not invalidated whenever a notification
is updated (either by using one of the marked as read functions or via
using the BP_Notifications_Notification::update() method).

This commit invalidates the cache directly in the update() class
method and adds a unit test.

See #5377

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8176 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2014-03-27 19:04:30 +00:00
..
bp-notifications-actions.php Introduce bp-notifications-actions.php to handle single notification status toggling. 2013-11-09 13:59:32 +00:00
bp-notifications-adminbar.php Swap old Core notifications functions for new native Notifications components ones. Props r-a-y. See #5266. 2013-11-30 06:47:24 +00:00
bp-notifications-buddybar.php Fix Buddybar notification formatting bug introduced in r7913 2014-02-18 12:57:14 +00:00
bp-notifications-cache.php Object caching for the more frequently used items in bp-notifications 2014-02-06 20:33:50 +00:00
bp-notifications-classes.php Notifications: Invalidate cache when a notification is updated. 2014-03-27 19:04:30 +00:00
bp-notifications-functions.php Disable duplicate notification creation by default, and introduce 'allow_duplicate' param for override 2014-03-09 19:59:01 +00:00
bp-notifications-loader.php Don't fetch item counts in profile navigation unnecessarily. 2014-02-22 21:21:21 +00:00
bp-notifications-screens.php First pass at bp-notifications component. Includes: 2013-11-07 17:15:51 +00:00
bp-notifications-template.php Replace wp_parse_args() with bp_parse_args() for all template loops. 2014-03-18 02:09:33 +00:00