If you soft delete a post it doesn't remove it from the unread reports in the Mod CP. I'm fairly certain this is not intentional.
Steps to reproduce:
1) Report any post.
2) Soft Delete the post.
3) The report doesn't get marked as read.
I can confirm that
The report should be removed upon a post being soft deleted.
Shouldn't it be marked as read and deleted only when truly deleting the post?
I guess I forgot that reports stay logged. :p Yeah just have it get marked as read.
Actually banning spammer should probably also mark reports as read. Deleting users should delete them.
The purge spammer feature already deletes the reports (at least in 1.8.6).
From a quick look at the code the soft_delete_thread
function in inc/class_moderation.php
still doesn't handle reports though. Can't recheck on a live board atm.
Hi,
Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.
Follow this link to visit the issue on Github:
https://github.com/mybb/mybb/issues/2106
Thanks for contributing to MyBB!
Regards,
The MyBB Group