X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/38ca813a0e312e2768e5b9519f0415cd0aa84781..9c2096d803812dacbdf6cf8efe90053e39f00b96:/wp-includes/default-constants.php diff --git a/wp-includes/default-constants.php b/wp-includes/default-constants.php index 0ba447fd..9c6535e2 100644 --- a/wp-includes/default-constants.php +++ b/wp-includes/default-constants.php @@ -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 } /**