]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/default-constants.php
Wordpress 3.3.1-scripts
[autoinstalls/wordpress.git] / wp-includes / default-constants.php
index 0ba447fda648659349c2f6881171f8028f2ad845..9c6535e21a8025888f17c23c9875f287895a8168 100644 (file)
@@ -49,7 +49,8 @@ function wp_initial_constants( ) {
        if ( !defined('WP_DEBUG') )
                define( 'WP_DEBUG', false );
 
-       // Add define('WP_DEBUG_DISPLAY', false); to wp-config.php use the globally configured setting for display_errors and not force errors to be displayed.
+       // Add define('WP_DEBUG_DISPLAY', null); to wp-config.php use the globally configured setting for
+       // display_errors and not force errors to be displayed. Use false to force display_errors off.
        if ( !defined('WP_DEBUG_DISPLAY') )
                define( 'WP_DEBUG_DISPLAY', true );
 
@@ -267,6 +268,12 @@ function wp_functionality_constants( ) {
 
        if ( !defined('WP_POST_REVISIONS') )
                define('WP_POST_REVISIONS', true);
+
+       /**
+        * @since 3.3.0
+        */
+       if ( !defined( 'WP_CRON_LOCK_TIMEOUT' ) )
+               define('WP_CRON_LOCK_TIMEOUT', 60);  // In seconds
 }
 
 /**