Make WordPress Core

Changeset 7664 for trunk/wp-settings.php


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r7234 r7664  
    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.