[wp-trac] [WordPress Trac] #43760: Create a revision when autosaving if the content has changed significantly

WordPress Trac noreply at wordpress.org
Mon Feb 2 16:59:59 UTC 2026


#43760: Create a revision when autosaving if the content has changed significantly
-------------------------------------------------+-------------------------
 Reporter:  azaozz                               |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Autosave                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests 2nd-        |     Focuses:
  opinion needs-refresh                          |
-------------------------------------------------+-------------------------
Changes (by ozgursar):

 * keywords:  has-patch needs-testing has-unit-tests 2nd-opinion => has-
     patch has-unit-tests 2nd-opinion needs-refresh


Comment:

 When I try to apply the patch `43760.1.diff​` against the latest `trunk`
 (7.0-alpha-61215-src), it fails to apply with the following message and
 `post.php.rej`, `revision.php.rej`, `revisions.php.rej` reject files
 generated:


 {{{
 Running "patch:43760" (patch) task
 ? Please select a patch to apply 43760.1.diff​ (5.0 KB) - added by
 soulseekah 8 years ago.
 patching file 'src/wp-admin/includes/post.php'
 1 out of 2 hunks failed--saving rejects to 'src/wp-
 admin/includes/post.php.rej'
 patching file 'src/wp-includes/revision.php'
 1 out of 1 hunks failed--saving rejects to 'src/wp-
 includes/revision.php.rej'
 patching file 'tests/phpunit/tests/post/revisions.php'
 1 out of 1 hunks failed--saving rejects to
 'tests/phpunit/tests/post/revisions.php.rej'
 }}}

 As the patch can not be successfully applied to the `trunk`, I removed
 `needs-testing` and adding `needs-refresh`.

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


More information about the wp-trac mailing list