• Resolved red46

    (@red46)


    Can anyone tell me why every time I update a post, a new entry is added to the database with a whole new post ID?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Just a wild guess here, and maybe someone with a more definitive explanation will chime in, but I’m thinking post revisions could be responsible?

    “Revisions are stored as children of their associated post (the same thing we do for attachments). They are given a post_status of ‘inherit’, a post_type of ‘revision’, and a post_name of {parent ID}- revision(-#) for regular revisions and {parent ID}-autosave for autosaves”

    If that’s not what you are seeing, some additional details may help in getting to the correct answer.

    Thread Starter red46

    (@red46)

    Thank you. This IS what I’m seeing. So evidently this is supposed to happen. hmmm

    You’re welcome! There are a lot of plugins designed to help with revision management, if you need to look into fine-tuning them a bit via plugin. https://wordpress.org/plugins/search.php?type=term&q=revision

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

The topic ‘wordpress database puzzle’ is closed to new replies.