[wp-trac] [WordPress Trac] #23062: Issue warnings for deprecated and wrong behavior in pre-release builds

WordPress Trac noreply at wordpress.org
Thu Dec 27 17:09:30 UTC 2012


#23062: Issue warnings for deprecated and wrong behavior in pre-release builds
------------------------------+------------------
 Reporter:  nacin             |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.6
Component:  Warnings/Notices  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |
------------------------------+------------------

Comment (by nacin):

 On the other hand, since these errors only show if you are running
 WP_DEBUG, maybe it's time to just bump them all to E_WARNING, always?
 You're either willingly displaying errors, or willingly logging them.

 Or, we remove the WP_DEBUG requirement, and always issue an E_NOTICE, even
 when WP_DEBUG is not set. Then, trigger E_WARNING in development builds,
 which everyone (WP_DEBUG or not) will see.

 Initial patch implements the original suggested behavior.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23062#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list