[buddypress-trac] [BuddyPress Trac] #8637: Notifications no longer updating counts with object caching since 10.0
buddypress-trac
noreply at wordpress.org
Mon Feb 21 20:54:53 UTC 2022
#8637: Notifications no longer updating counts with object caching since 10.0
-------------------------------------------------+-------------------------
Reporter: niftythree | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone: 10.1.0
Component: Toolbar & Notifications | Version: 10.0.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests 2nd- |
opinion needs-testing |
-------------------------------------------------+-------------------------
Comment (by imath):
I understand your concern @oztaser but we don't need another condition if
we pass the variable one of the existing ones needs.
For the case you mention, I'm adding this part:
`$where_args['user_id'] = $where_args['data']['user_id'];`
which ends up into the first condition of
`bp_notifications_clear_all_for_user_cache_before_update()`.
But I'll run some new tests to be 100% sure 👌
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8637#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list