WordPress.org

Make WordPress Core

Changeset 13185


Ignore:
Timestamp:
02/17/10 20:36:00 (6 years ago)
Author:
nacin
Message:

Add initial WP_DEBUG define to wp-config-sample.php and suggest plugin/theme developers use it. Fixes #12236

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-config-sample.php

    r13133 r13185  
    7272define ('WPLANG', ''); 
    7373 
     74/** 
     75 * For developers: WordPress debugging mode. 
     76 * 
     77 * Change this to true to enable the display of notices during development. 
     78 * It is strongly recommended that plugin and theme developers use WP_DEBUG 
     79 * in their development environments. 
     80 */ 
     81define('WP_DEBUG', false); 
     82 
    7483/* That's all, stop editing! Happy blogging. */ 
    7584 
  • trunk/wp-includes/load.php

    r13176 r13185  
    221221 * or file is used. Deprecated code may be removed from a later version. 
    222222 * 
    223  * It is strongly recommended that plugin and theme authors use WP_DEBUG for their 
     223 * It is strongly recommended that plugin and theme developers use WP_DEBUG in their 
    224224 * development environments. 
    225225 * 
Note: See TracChangeset for help on using the changeset viewer.