Created
June 2, 2014 10:45
-
-
Save raulillana/7a0df81b41ca6c10ad3d to your computer and use it in GitHub Desktop.
Disable PHP Strict Standards and Deprecated Notices the WordPress way.
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
<?php | |
// disable strict standards and deprecated notices | |
if( WP_DEBUG && WP_DEBUG_DISPLAY ) ini_set('error_reporting', E_ALL & ~E_STRICT & ~E_DEPRECATED); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment