boonebgorges / bp-groupblog

BuddyPress Groupblog
GNU General Public License v3.0
15 stars 10 forks source link

Delete 'bp_groupblog_blog_group_ids' cache on group deletion #55

Closed r-a-y closed 1 year ago

r-a-y commented 1 year ago

Hi Boone,

This PR fixes an issue where fetching the group ID for a site can return a non-existing group ID if the group is deleted.

We currently purge the 'bp_groupblog_blog_group_ids' cache on site deletion and when uncoupling a site from a group. We need to do this on group deletion as well.

boonebgorges commented 1 year ago

Thanks @r-a-y ! I hope this PR isn't the end result of an hours-long troubleshooting session.