[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
Tue Jul 4 23:34:35 UTC 2023
#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: closed
Priority: normal | Milestone: 6.2
Component: Revisions | Version: 5.4
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing dev- | Focuses: rest-api,
feedback has-unit-tests commit | performance
-------------------------------------------------+-------------------------
Comment (by adamsilverstein):
@Mamaduka [attachment:"49532.5.diff"] is a slightly different approach -
the original revision id is returned when the autosave is unchanged -
instead of an error. Can you give it a test/review please?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49532#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list