Changes between Initial Version and Version 1 of Ticket #50227
- Timestamp:
- 05/22/2020 05:29:10 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #50227
- Property Keywords needs-patch removed
-
Property
Status
changed from
new
toclosed
-
Property
Resolution
changed from
to
duplicate
-
Property
Milestone
changed from
Awaiting Review
to
-
Ticket #50227 – Description
initial v1 1 1 In wp_load.php wp_debug_mode() error_reporting is set to E_ALL, when WP_DEBUG is set to true. E_ALL is not the best choice in all situations. I would like to have a constant, where I can set a error_reporting to a different value. 2 2 {{{ 3 3 if ( WP_DEBUG ) { 4 4 if ( defined( 'WP_DEBUG_ERROR_REPORTING' ) ) { … … 8 8 } 9 9 ... 10 10 }}} 11 11 The constant can then be defined in wp_config.php 12 12 define( 'WP_DEBUG_ERROR_REPORTING', E_ALL & ~E_NOTICE & ~E_DEPRECATED | E_STRICT );