mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Move define of AUTOSAVE_INTERVAL to wp-settings so that it is available earlier. Props simonwheatley. fixes #6668 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b7c7f9d1c2
commit
6e662d708b
@ -1,8 +1,5 @@
|
||||
<?php
|
||||
|
||||
if ( !defined( 'AUTOSAVE_INTERVAL' ) )
|
||||
define( 'AUTOSAVE_INTERVAL', 60 );
|
||||
|
||||
require_once(ABSPATH . 'wp-admin/includes/bookmark.php');
|
||||
require_once(ABSPATH . 'wp-admin/includes/comment.php');
|
||||
require_once(ABSPATH . 'wp-admin/includes/file.php');
|
||||
|
@ -331,6 +331,14 @@ if ( !defined('SITECOOKIEPATH') )
|
||||
if ( !defined('COOKIE_DOMAIN') )
|
||||
define('COOKIE_DOMAIN', false);
|
||||
|
||||
/**
|
||||
* 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');
|
||||
|
||||
// Check for hacks file if the option is enabled
|
||||
|
Loading…
Reference in New Issue
Block a user