[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
Fri Sep 30 14:48:22 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
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 @mukesh27 Thanks for testing!

 >Why is this an issue:
 >This creates and deletes records in the wp_posts table with no real use,
 causing unwanted load and exhausting the ids of the wp_posts table.

 did you verify that this no longer happens?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49532#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list