Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/web/wp/wp-includes/load.php b/web/wp/wp-includes/load.php
index c7a46de..f52539e 100644
--- a/web/wp/wp-includes/load.php
+++ b/web/wp/wp-includes/load.php
@@ -318,7 +318,7 @@ function wp_debug_mode() {
}
if ( WP_DEBUG ) {
- error_reporting( E_ALL );
+ error_reporting( E_ALL & ~E_DEPRECATED);
if ( WP_DEBUG_DISPLAY )
ini_set( 'display_errors', 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.