[wp-trac] [WordPress Trac] #49532: Clicking "preview" multiple times on a post causes an identical autosave revision to be created and destroyed repeatedly
WordPress Trac
noreply at wordpress.org
Wed Aug 31 06:08:05 UTC 2022
#49532: Clicking "preview" multiple times on a post causes an identical autosave
revision to be created and destroyed repeatedly
-------------------------------------------------+-------------------------
Reporter: inwerpsel | Owner:
| adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.1
Component: Revisions | Version: 5.4
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback needs- | Focuses: rest-api,
testing dev-feedback | performance
-------------------------------------------------+-------------------------
Changes (by mukesh27):
* keywords: has-patch reporter-feedback needs-testing => has-patch
reporter-feedback needs-testing dev-feedback
Comment:
@adamsilverstein I tested the patch. I follow below steps.
1. Create new post with title and content
2. Save post.
3. Click on Preview button (Multiple time) it return "There is nothing to
save. The autosave and the post content are the same." with no revision
create.
4. Update content
5. Click on Preview button (Multiple time) it save the revision.
6. Again update some content
7. Click on Preview button (Multiple time) it save the this new revision
and remove previous revision.
8. Again update some content
9. Click on Preview button (Multiple time) it save the this new revision
and remove previous revision.
Is it valid? Do you think we have to save that revision?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49532#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list