Forums

Join
bbPress Support ForumsTroubleshootingDoes deleting a forum post delete the related bb_meta as well?

Info

Tags

Does deleting a forum post delete the related bb_meta as well?

  1. If a plugin writes some bb_post meta in the bb_meta table when a post is made, when deleting a forum post, is the bb_post meta supposed to be deleted as well?

    Or is it the default behaviour to keep any bb_post meta even if the forum post is deleted?

  2. Since deleted posts are not really deleted, I would guess that the meta stays. I didn't verify that, but that seems to make sense. They're not really deleted, they're just MARKED as deleted (by changing the status.)

  3. That's a great point Chris!

    Maybe that's why bbPress doesn't have native support for full post deletion... cleaning up the meta data would be a pain!

  4. Thanks Chris and John for the replies.

    Cleaning up the meta data would be great in a future version of bbPress.

  5. I didn't verify any of this, just guessing.

  6. Ahh okay, Chris! Will do some more research.

  7. You must log in to post.