WordPress.org

Make WordPress Core

Changeset 7663


Ignore:
Timestamp:
04/14/08 17:07:18 (7 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

Location:
branches/2.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-admin/includes/admin.php

    r7165 r7663  
    11<?php 
    2  
    3 if ( !defined( 'AUTOSAVE_INTERVAL' ) ) 
    4     define( 'AUTOSAVE_INTERVAL', 60 ); 
    52 
    63require_once(ABSPATH . 'wp-admin/includes/bookmark.php'); 
  • 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.