Replies: 0
Hi!
In one of the sites I work on, I noticed the WP_DEBUG and WP_DEBUG_DISPLAY constants were not being respected.
I found the cause in this plugin, as it defines its own method to decide wether to display or hide errors: https://plugins.trac.wordpress.org/browser/slideshow-gallery/trunk/slideshow-gallery-plugin.php#L87
Can this piece of code be removed and instead rely on the WP_DEBUG constants? Or is there a hook I can use to prevent this piece of code from running?
Thanks