Opened 6 years ago
Closed 2 years ago
#40601 closed defect (bug) (worksforme)
wp_update_post then write_post causes odd revisions.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.8 |
Component: | Revisions | Keywords: | reporter-feedback close |
Focuses: | Cc: |
Description
When you wp_update_post( $postarray ) a post, and write_post() a few lines later, it makes two revisions with the same post_name and guid. Weird.
Change History (4)
#3
@
2 years ago
- Keywords close added
Hello @programmin,
Does this issue persist today? If yes, please provide us with more details to help us investigate.
As Adam notes, we need the following feedback:
are you creating a post from scratch, or updating an existing post?
Can you provide a code snippet or some more details about what you are trying to do and the exact code you are using?
Are the two revisions the same, or is one missing content?
For now, marking this ticket as a close
candidate. Why? Not finding this issue reported elsewhere. It's been over 4 years since reporter feedback requested. Likely due to a conflict from the stack including a plugin or theme. Will review when/if more feedback is given.
@programmin Thanks for the bug report.
are you creating a post from scratch, or updating an existing post? Can you provide a code snippet or some more details about what you are trying to do and the exact code you are using?
Are the two revisions the same, or is one missing content?