[wp-trac] [WordPress Trac] #48720: Define all debugging constants for developers in wp-config.php

WordPress Trac noreply at wordpress.org
Tue Nov 19 07:20:45 UTC 2019


#48720: Define all debugging constants for developers in wp-config.php
-------------------------+------------------------------
 Reporter:  davidnash    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  5.3
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by psykro):

 Suggested update to comment in wp-config.php


 {{{
 /**
  * For developers: WordPress debugging mode.
  *
  * Change this to true to enable the display of notices during
 development.
  * It is strongly recommended that plugin and theme developers use
 WP_DEBUG
  * in their development environments.
  *
  * For information on other constants that can be used for debugging,
  * visit the Codex.
  *
  * @link https://wordpress.org/support/article/debugging-in-wordpress/
  *
  * Some examples of the debug settings you can enable
  *
  * define( 'WP_DEBUG_LOG', true ) - save all errors to a debug.log file
  * define( 'WP_DEBUG_DISPLAY', false ); - prevent the errors from showing
 in the HTML of pages
  */
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48720#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list