[wp-trac] [WordPress Trac] #12236: Reference WP_DEBUG in wp-config-sample.php

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 15 10:25:38 UTC 2010


#12236: Reference WP_DEBUG in wp-config-sample.php
------------------------------+---------------------------------------------
 Reporter:  nacin             |       Owner:  westi       
     Type:  defect (bug)      |      Status:  new         
 Priority:  normal            |   Milestone:  Unassigned  
Component:  Warnings/Notices  |     Version:              
 Severity:  normal            |    Keywords:  dev-feedback
------------------------------+---------------------------------------------
 Too few plugin authors know about or bother with WP_DEBUG. This often
 means that plugin code can be improved, both from a PHP and WordPress
 standpoint.

 We should attempt to raise WP_DEBUG's profile by including it at the
 bottom of wp-config-sample.php.

 Especially with the addition of deprecated warnings for function
 arguments, it makes a lot of sense to try to raise awareness of its
 existence, and this seems like a start.

 dd32 also suggested perhaps SCRIPT_DEBUG could be included as well.
 Consider the patch a POC.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12236>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list