mirror of
git://develop.git.wordpress.org/
synced 2025-01-16 20:38:35 +01:00
Add initial WP_DEBUG define to wp-config-sample.php and suggest plugin/theme developers use it. Fixes #12236
git-svn-id: https://develop.svn.wordpress.org/trunk@13185 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5f268b6d43
commit
a4107f75c1
@ -71,6 +71,15 @@ $table_prefix = 'wp_';
|
||||
*/
|
||||
define ('WPLANG', '');
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
define('WP_DEBUG', false);
|
||||
|
||||
/* That's all, stop editing! Happy blogging. */
|
||||
|
||||
/** Absolute path to the WordPress directory. */
|
||||
|
@ -220,7 +220,7 @@ function timer_stop( $display = 0, $precision = 3 ) { // if called like timer_st
|
||||
* notices, including one when a deprecated WordPress function, function argument,
|
||||
* or file is used. Deprecated code may be removed from a later version.
|
||||
*
|
||||
* It is strongly recommended that plugin and theme authors use WP_DEBUG for their
|
||||
* It is strongly recommended that plugin and theme developers use WP_DEBUG in their
|
||||
* development environments.
|
||||
*
|
||||
* When WP_DEBUG_DISPLAY is true, WordPress will force errors to be displayed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user