Bug Hard deleting thread with unapproved posts does not update approval queue

There is a bug in this version
A

AndyB

Guest
Hard deleting a thread with unapproved posts does not update approval queue.

Steps to reproduce:

Create new thread.
Reply to thread.
Unapprove post.

At this point you will see there is one unapproved post in the Approval queue.

Hard delete thread.

At this point you would expect the Approval queue to be empty, yet is still contains one unapproved item.

Continue reading...