Created
July 23, 2014 14:38
-
-
Save machouinard/9cf6f87353ef8744402d to your computer and use it in GitHub Desktop.
Force Strict OFF
This file contains hidden or 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