buddypress-group-email-subscription
buddypress-group-email-subscription copied to clipboard
Added function to remove topics from digest when trashed
See https://wordpress.org/support/topic/deleted-posts-are-included-in-digests
As I mentioned in the forums, trashing a forum post should, in theory, remove the corresponding activity item.
But bbPress 2.6 broke this functionality if the “Allow topic and reply revision logging” option is disabled under “Settings > Forums” in the admin dashboard.
See https://github.com/bbpress/bbPress/blob/8a1729aa3c9d77609c8a5b2d191894fa93a09d93/src/includes/extend/buddypress/activity.php#L644 and the subsequent reply_delete()
call later down the method.
So this PR shouldn't be needed.
The temporary solution for bbPress 2.6 is to re-enable revisions or to patch the lines to remove the revision checks. Related: https://bbpress.trac.wordpress.org/ticket/3328.
tested on a fresh install and yes you are right, this PR is not needed, sorry to waste your time!