diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-05-07 14:32:13 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-05-07 14:32:13 +0000 |
commit | d96c893db90af8f0709ee2486e5177bf4593c1b8 (patch) | |
tree | 150afb8fb8ee3f935f654326bfa103ac9909eab9 /wp-settings.php | |
parent | 4dbe26b26fe556c71cc38e2531110bc63f351b4d (diff) | |
download | wordpress-mu-d96c893db90af8f0709ee2486e5177bf4593c1b8.tar.gz wordpress-mu-d96c893db90af8f0709ee2486e5177bf4593c1b8.tar.xz wordpress-mu-d96c893db90af8f0709ee2486e5177bf4593c1b8.zip |
AUTOSAVE_INTERVAL, fixes #617 and #610, props hanifb
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1267 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-settings.php')
-rw-r--r-- | wp-settings.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/wp-settings.php b/wp-settings.php index 59d0d1e..7e3bd7c 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -407,6 +407,14 @@ if ( !defined('SITECOOKIEPATH') ) */ if ( !defined('COOKIE_DOMAIN') ) define('COOKIE_DOMAIN', '.' . $current_site->domain); + +/** + * It is possible to define this in wp-config.php + * @since 2.5.0 + */ +if ( !defined( 'AUTOSAVE_INTERVAL' ) ) + define( 'AUTOSAVE_INTERVAL', 60 ); + require (ABSPATH . WPINC . '/vars.php'); |