Revision not created when creating a copy
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 53
- Forks
- 38
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
- I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened
To Reproduce
Step-by-step reproduction instructions
- Create a page
- Got to the overview of pages and click 'Rewrite & Republish'
- Alter the page content
- Save draft.
- Compare revisions
Expected results
- The revision only shows that alterations you have made after clicking 'Rewrite & Republish'
Actual results
- The revision shows the entire page as being new
Screenshots, screen recording, code snippet
If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
Technical info
- If relevant, which editor is affected (or editors):
- Block Editor
- Gutenberg Editor
- Classic Editor
- Other:
- Which browser is affected (or browsers):
- Chrome
- Firefox
- Safari
- Other:
Used versions
- Device you are using: MacBook
- Operating system: MacOS
- PHP version: 8.1
- WordPress version: 6.7
- WordPress Theme: Sage
- Yoast Duplicate Post version: 4.5
- Gutenberg plugin version:
- Classic Editor plugin version:
- Relevant plugins in case of a bug:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with WordPress 6.7, Yoast Duplicate Post 4.5, PHP 8.1, and the Block Editor: create a page, use “Rewrite & Republish,” alter it, save a draft, and compare revisions. Done means the revision shows only changes made after creating the copy, rather than the entire page as new.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100