WordPress.org

Make WordPress Core

Changeset 45203


Ignore:
Timestamp:
04/15/2019 10:09:31 PM (9 months ago)
Author:
SergeyBiryukov
Message:

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

See #46543.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-constants.php

    r45104 r45203  
    7373    }
    7474
    75     // Add define('WP_DEBUG', true); to wp-config.php to enable display of notices during development.
     75    // Add define( 'WP_DEBUG', true ); to wp-config.php to enable display of notices during development.
    7676    if ( ! defined( 'WP_DEBUG' ) ) {
    7777        define( 'WP_DEBUG', false );
    7878    }
    7979
    80     // Add define('WP_DEBUG_DISPLAY', null); to wp-config.php use the globally configured setting for
     80    // Add define( 'WP_DEBUG_DISPLAY', null ); to wp-config.php use the globally configured setting for
    8181    // display_errors and not force errors to be displayed. Use false to force display_errors off.
    8282    if ( ! defined( 'WP_DEBUG_DISPLAY' ) ) {
     
    8484    }
    8585
    86     // Add define('WP_DEBUG_LOG', true); to enable error logging to wp-content/debug.log.
     86    // Add define( 'WP_DEBUG_LOG', true ); to enable error logging to wp-content/debug.log.
    8787    if ( ! defined( 'WP_DEBUG_LOG' ) ) {
    8888        define( 'WP_DEBUG_LOG', false );
     
    9393    }
    9494
    95     // Add define('SCRIPT_DEBUG', true); to wp-config.php to enable loading of non-minified,
     95    // Add define( 'SCRIPT_DEBUG', true ); to wp-config.php to enable loading of non-minified,
    9696    // non-concatenated scripts and stylesheets.
    9797    if ( ! defined( 'SCRIPT_DEBUG' ) ) {
Note: See TracChangeset for help on using the changeset viewer.