Taking over error reporting
-
Hi,
In the class
Was_This_Helpful
I see this line inside the__construct
:error_reporting( E_ERROR | E_PARSE );
What is the reason for hijacking the error_reporting? Could this not just be up to
WP_DEBUG
?https://developer.wordpress.org/reference/functions/wp_debug_mode/
- The topic ‘Taking over error reporting’ is closed to new replies.