Created
July 21, 2014 17:20
-
-
Save adamsilverstein/542528726a67797e3cbf to your computer and use it in GitHub Desktop.
Strict Error Reporting Off
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 | |
/** | |
* Plugin Name: Force Strict OFF | |
* Description: Forces Strict errors off | |
* Author: John P. Bloch | |
* Version: 0.1 | |
* License: GPLv2 | |
*/ | |
if ( WP_DEBUG ) { | |
error_reporting( E_ALL & ~E_STRICT ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment