[wp-trac] [WordPress Trac] #56252: Allow error_reporting level to be configurable for WP_DEBUG

WordPress Trac noreply at wordpress.org
Tue Jul 19 18:42:54 UTC 2022


#56252: Allow error_reporting level to be configurable for WP_DEBUG
----------------------------+------------------------------
 Reporter:  luistar15       |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Bootstrap/Load  |     Version:  6.0
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  performance
----------------------------+------------------------------

Comment (by knutsp):

 Could this be combined into one constant? When `WP_DEBUG` is integer, use
 as error_level, otherwise truthy /falsey as currently. A few other
 constants work in a similar way.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56252#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list