Changeset 56042 for trunk/src/wp-includes/default-constants.php
- Timestamp:
- 06/26/2023 07:55:28 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/default-constants.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-constants.php
r56032 r56042 78 78 } 79 79 80 /* 81 * Add define( 'WP_DEVELOPMENT_MODE', 'core' ) or define( 'WP_DEVELOPMENT_MODE', 'plugin' ) or 82 * define( 'WP_DEVELOPMENT_MODE', 'theme' ) to wp-config.php to signify development mode for WordPress core, a 83 * plugin, or a theme respectively. 84 */ 85 if ( ! defined( 'WP_DEVELOPMENT_MODE' ) ) { 86 define( 'WP_DEVELOPMENT_MODE', '' ); 87 } 88 80 89 // Add define( 'WP_DEBUG', true ); to wp-config.php to enable display of notices during development. 81 90 if ( ! defined( 'WP_DEBUG' ) ) { 82 if ( 'development' === wp_get_environment_type() ) {91 if ( wp_get_development_mode() || 'development' === wp_get_environment_type() ) { 83 92 define( 'WP_DEBUG', true ); 84 93 } else {
Note: See TracChangeset
for help on using the changeset viewer.