bbp_delete_topic is not deleting the child replies
|Reported by:||MZAWeb||Owned by:||MZAWeb|
The query generated by the WP_Query in there looks like:
SELECT wp_posts.ID, wp_posts.post_parent FROM wp_posts WHERE 1=1 AND wp_posts.post_parent = 93 AND wp_posts.post_type = 'reply' AND (wp_posts.post_status <> 'trash' AND wp_posts.post_status <> 'auto-draft' AND wp_posts.post_status <> 'spam' AND wp_posts.post_status <> 'orphan' AND wp_posts.post_status <> 'hidden') ORDER BY wp_posts.post_date DESC
It seems the post_status => any is getting lost somehow.
I'm on WordPress 3.5 trunk
Change History (13)
- Component changed from Topics to Code Improvement
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 2.3
- Resolution set to fixed
- Status changed from assigned to closed
Note: See TracTickets for help on using tickets.