From 3d9f8c4d9696f091cc2f969eac828a04ba094586 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 15 Apr 2019 22:09:31 +0000 Subject: [PATCH] Docs: Adjust comments in `wp_initial_constants()` to conform to WPCS. See #46543. git-svn-id: https://develop.svn.wordpress.org/trunk@45203 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/default-constants.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/default-constants.php b/src/wp-includes/default-constants.php index ee22547ca9..a004c9e663 100644 --- a/src/wp-includes/default-constants.php +++ b/src/wp-includes/default-constants.php @@ -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 } - // 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' ) ) { 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. if ( ! defined( 'WP_DEBUG_DISPLAY' ) ) { 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' ) ) { define( 'WP_DEBUG_LOG', false ); } @@ -92,7 +92,7 @@ function wp_initial_constants() { 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. if ( ! defined( 'SCRIPT_DEBUG' ) ) { if ( ! empty( $GLOBALS['wp_version'] ) ) {