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

WordPress Trac noreply at wordpress.org
Thu Aug 16 02:48:20 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 jblz):

 * Attachment "44786.withtests.patch" added.

 Inverts the semantics of the filter (block vs. allow), pass $autosave as
 the default value, pass $post_id, include unit test

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


More information about the wp-trac mailing list