Docs: Adjust comments in wp_initial_constants() to conform to WPCS.

See #46543.
Built from https://develop.svn.wordpress.org/trunk@45203


git-svn-id: http://core.svn.wordpress.org/trunk@45012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-04-15 22:10:52 +00:00
parent df276c333a
commit 60bf5fefff
2 changed files with 5 additions and 5 deletions

View File

@ -72,18 +72,18 @@ function wp_initial_constants() {
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down
} }
// Add define('WP_DEBUG', true); to wp-config.php to enable display of notices during development. // Add define( 'WP_DEBUG', true ); to wp-config.php to enable display of notices during development.
if ( ! defined( 'WP_DEBUG' ) ) { if ( ! defined( 'WP_DEBUG' ) ) {
define( 'WP_DEBUG', false ); define( 'WP_DEBUG', false );
} }
// Add define('WP_DEBUG_DISPLAY', null); to wp-config.php use the globally configured setting for // 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. // display_errors and not force errors to be displayed. Use false to force display_errors off.
if ( ! defined( 'WP_DEBUG_DISPLAY' ) ) { if ( ! defined( 'WP_DEBUG_DISPLAY' ) ) {
define( 'WP_DEBUG_DISPLAY', true ); define( 'WP_DEBUG_DISPLAY', true );
} }
// Add define('WP_DEBUG_LOG', true); to enable error logging to wp-content/debug.log. // Add define( 'WP_DEBUG_LOG', true ); to enable error logging to wp-content/debug.log.
if ( ! defined( 'WP_DEBUG_LOG' ) ) { if ( ! defined( 'WP_DEBUG_LOG' ) ) {
define( 'WP_DEBUG_LOG', false ); define( 'WP_DEBUG_LOG', false );
} }
@ -92,7 +92,7 @@ function wp_initial_constants() {
define( 'WP_CACHE', false ); define( 'WP_CACHE', false );
} }
// Add define('SCRIPT_DEBUG', true); to wp-config.php to enable loading of non-minified, // Add define( 'SCRIPT_DEBUG', true ); to wp-config.php to enable loading of non-minified,
// non-concatenated scripts and stylesheets. // non-concatenated scripts and stylesheets.
if ( ! defined( 'SCRIPT_DEBUG' ) ) { if ( ! defined( 'SCRIPT_DEBUG' ) ) {
if ( ! empty( $GLOBALS['wp_version'] ) ) { if ( ! empty( $GLOBALS['wp_version'] ) ) {

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.2-beta3-45202'; $wp_version = '5.2-beta3-45203';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.