Please give us a description of what happened
A user created a rewritten post using "rewrite and republish", but then didn't publish the rewritten post because they thought it would be at the wrong URL. The rewritten post's editor showed a permalink that didn't match the original URL, so it wasn't clear that the draft rewrite would replace the original.
To Reproduce
Step-by-step reproduction instructions
- Create a post and set its permalink. Publish it.
- Use the "Rewrite and Republish" functionality to create a draft rewrite
- Edit the draft rewrite.
Expected results
I expected either of the following:
- The editor in the rewritten post should display no permalink controls
- The editor in the rewritten post should display the same permalink as the post it is a rewrite of
Actual results
- The editor in the rewritten post shows a control for setting the permalink, and this contains a value that is not the value of the original post.
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):
- Which browser is affected (or browsers):
Used versions
- Device you are using: Laptop, desktop
- Operating system: Any
- PHP version: 8.2
- WordPress version: 6.9
- WordPress Theme: custom
- Yoast Duplicate Post version: 4.5
- Relevant plugins in case of a bug:
Please give us a description of what happened
A user created a rewritten post using "rewrite and republish", but then didn't publish the rewritten post because they thought it would be at the wrong URL. The rewritten post's editor showed a permalink that didn't match the original URL, so it wasn't clear that the draft rewrite would replace the original.
To Reproduce
Step-by-step reproduction instructions
Expected results
I expected either of the following:
Actual results
Screenshots, screen recording, code snippet
If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
Technical info
Used versions