Make WordPress Core


Ignore:
Timestamp:
04/14/2008 05:07:18 PM (19 years ago)
Author:
ryan
Message:

Move define of AUTOSAVE_INTERVAL to wp-settings so that it is available earlier. Props simonwheatley. fixes #6668 for 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-settings.php

    r7234 r7663  
    331331if ( !defined('COOKIE_DOMAIN') )
    332332        define('COOKIE_DOMAIN', false);
     333       
     334/**
     335 * It is possible to define this in wp-config.php
     336 * @since 2.5.0
     337 */
     338if ( !defined( 'AUTOSAVE_INTERVAL' ) )
     339        define( 'AUTOSAVE_INTERVAL', 60 );
     340       
    333341
    334342require (ABSPATH . WPINC . '/vars.php');
Note: See TracChangeset for help on using the changeset viewer.