WordPress.org

Make WordPress Core

Ticket #48720: wp-config-sample.diff

File wp-config-sample.diff, 727 bytes (added by psykro, 2 years ago)

Minor update to section on debugging mode, includes updated link and some debugging constant examples.

  • wp-config-sample.php

     
    7373 * in their development environments.
    7474 *
    7575 * For information on other constants that can be used for debugging,
    76  * visit the documentation.
     76 * visit the Codex.
    7777 *
    7878 * @link https://wordpress.org/support/article/debugging-in-wordpress/
     79 *
     80 * Some examples of the debug constants you can enable
     81 *
     82 * define( 'WP_DEBUG_LOG', true ) - save all errors to a debug.log file
     83 * define( 'WP_DEBUG_DISPLAY', false ); - prevent the errors from showing in the HTML of pages
     84 *
    7985 */
    8086define( 'WP_DEBUG', false );
    8187