[wp-trac] [WordPress Trac] #44786: Autosave: Conditionally allow revisions to be saved

WordPress Trac noreply at wordpress.org
Wed Aug 15 21:24:52 UTC 2018


#44786: Autosave: Conditionally allow revisions to be saved
----------------------------------------+------------------------------
 Reporter:  jblz                        |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Revisions                   |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------
Changes (by adamsilverstein):

 * keywords:  has-patch => has-patch needs-unit-tests


Comment:

 Hey @jblz - I think the filter is fine here. A unit test that validated
 the filter would be nice.


 Note that the use case you describe "to occasionally save revisions for
 drafts during an autosave call" is similar to what we have discussed a
 little and started working on in
 https://core.trac.wordpress.org/ticket/43316?cversion=0&cnum_hist=65#comment:32
 - it would be great to have something like this built into the core
 autosave endpoint.

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


More information about the wp-trac mailing list