WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/17/2010 01:14:45 PM (12 years ago)
Author:
nacin
Message:

Better inline documentation for WP_DEBUG, WP_DEBUG_DISPLAY, and WP_DEBUG_LOG. Fixes #11987

File:
1 edited

Legend:

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

    r13062 r13176  
    88/**
    99 * Defines initial WordPress constants
    10  *
     10 *
     11 * @see wp_debug_mode()
     12 *
    1113 * @since 3.0.0
    1214 */
     
    4446        define( 'WP_DEBUG', false );
    4547
    46     // Add define('WP_DEBUG_DISPLAY', false); to wp-config.php to use the globally configured setting for display_errors and not force it to On
     48    // 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.
    4749    if ( !defined('WP_DEBUG_DISPLAY') )
    4850        define( 'WP_DEBUG_DISPLAY', true );
    4951
    50     // Add define('WP_DEBUG_LOG', true); to enable php debug logging to WP_CONTENT_DIR/debug.log
     52    // Add define('WP_DEBUG_LOG', true); to enable error logging to wp-content/debug.log.
    5153    if ( !defined('WP_DEBUG_LOG') )
    5254        define('WP_DEBUG_LOG', false);
Note: See TracChangeset for help on using the changeset viewer.