-
-
Save BurningDog/e90126e4001b22d80e988f84878ea756 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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