Disabling Wordpress Auto Draft

I am using Wordpress v.3.3.1 with Multisite management.

I am trying to disable the automatic draft function, but it seems like I tried all the trigger.

What I tried:

define('WP_POST_REVISIONS', false);

define('WP_POST_REVISIONS', false);

Does not work.

I tried to delete auto_save lines in post-new.php, post-php. Both in wp-include and in wp-admin. Does not work.

I also tried several plugins, but they will not do it! Any idea why?

+3
source share
4 answers

I notice that you are asking about disabling Auto Drafts and NOT Auto Save .

You cannot turn off automatic saving, but you can achieve a similar effect by setting a long interval, for example:

define( 'AUTOSAVE_INTERVAL', 3600 ); // Default is 60

(You would add it to your WordPress wp-config.php file.)

Auto-Drafts, . . ...

"" , Audrey Capital ( Matt Mullenweg angel), :

- - , . - , , , , , /lost, .

- , .

, TinyMCE WordPress, :

, , .

:

- 7 . . .

+13

A) wp-config.php. .

define( 'AUTOSAVE_INTERVAL',    3600 );     // autosave 1x per hour
define( 'WP_POST_REVISIONS',    false );    // no revisions
define( 'DISABLE_WP_CRON',      true );
define( 'EMPTY_TRASH_DAYS',     7 );        // one week
+3

wp-config.php, WordPress :

define('WP_POST_REVISIONS', false );

require_once ABSPATH . 'wp-settings.php'; .

0
source

I think that turning it off is not good (for example, when you are trying to post 2 posts at the same time, then there may be problems). So, instead of disconnecting :

Method 1)

  • disable them a bit (without CORE modifications), see this answer .

Method 2)

-1
source

All Articles