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

WordPress Trac noreply at wordpress.org
Tue Jul 19 19:28:51 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 luistar15):

 Replying to [comment:1 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.

 I wouldn't mind that. But personally a prefer multiple explicit settings
 rather that one that could mean many things.

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


More information about the wp-trac mailing list