Skip to:
Content
Pages
Categories
Search
Top
Bottom

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


  • r-a-y
    Participant

    @r-a-y

    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?

Viewing 5 replies - 1 through 5 (of 5 total)

  • chrishajer
    Participant

    @chrishajer

    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.)

    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!


    r-a-y
    Participant

    @r-a-y

    Thanks Chris and John for the replies.

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


    chrishajer
    Participant

    @chrishajer

    I didn’t verify any of this, just guessing.


    r-a-y
    Participant

    @r-a-y

    Ahh okay, Chris! Will do some more research.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar