Add initial WP_DEBUG define to wp-config-sample.php and suggest plugin/theme developers use it. Fixes #12236
git-svn-id: http://svn.automattic.com/wordpress/trunk@13185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6baf424bf5
commit
9133e1c25e
|
@ -71,6 +71,15 @@ $table_prefix = 'wp_';
|
||||||
*/
|
*/
|
||||||
define ('WPLANG', '');
|
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. */
|
/* That's all, stop editing! Happy blogging. */
|
||||||
|
|
||||||
/** Absolute path to the WordPress directory. */
|
/** 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,
|
* notices, including one when a deprecated WordPress function, function argument,
|
||||||
* or file is used. Deprecated code may be removed from a later version.
|
* 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.
|
* development environments.
|
||||||
*
|
*
|
||||||
* When WP_DEBUG_DISPLAY is true, WordPress will force errors to be displayed.
|
* When WP_DEBUG_DISPLAY is true, WordPress will force errors to be displayed.
|
||||||
|
|
Loading…
Reference in New Issue