[wp-trac] [WordPress Trac] #39917: AutoSave is not disabling in spite of settings added in wp-config.php

WordPress Trac noreply at wordpress.org
Mon Feb 20 06:36:16 UTC 2017


#39917: AutoSave is not disabling in spite of settings added in wp-config.php
------------------------------+-----------------------------
 Reporter:  subrataemfluence  |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Autosave          |    Version:  4.7.2
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 I want to disable AUTOSAVE for my application. For this I have added the
 following lines in /var/www/html/mysite/wp-config.php file:

 {{{#!php
 /* AutoSaving and Revisions */

 define( 'AUTOSAVE_INTERVAL', 20000000000 ); // autosave 1x per year
 define( 'EMPTY_TRASH_DAYS',  0 ); // zero days
 define( 'WP_POST_REVISIONS', false ); // no revisions

 /* That's all, stop editing! Happy blogging. */
 }}}

 But WordPress is still doing AutoSave.

 OS: Ubuntu 14.04
 WordPress Version: 4.7.2

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


More information about the wp-trac mailing list