[buddypress-trac] [BuddyPress Trac] #7534: Remove read notifications from the DB table after a specified time period
buddypress-trac
noreply at wordpress.org
Thu Apr 4 01:05:54 UTC 2024
#7534: Remove read notifications from the DB table after a specified time period
------------------------------------+--------------------------
Reporter: r-a-y | Owner: espellcaste
Type: enhancement | Status: assigned
Priority: normal | Milestone: Up Next
Component: Performance | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+--------------------------
Comment (by shawfactor):
I suggest a slightly different approach.
1. Add an expiration date field the notifications table (that can be
null)
2. Add a setting that allows admins to set a defaults expiration period
and a filter that allows devs to set different expirations on a per
notification or per notification type basis
This would not only address the above issue but also make it much easier
to clear unread notifications that are no longer relevant.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7534#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list