Skip to content

Instantly share code, notes, and snippets.

@machouinard
Created July 23, 2014 14:38
Show Gist options
  • Save machouinard/9cf6f87353ef8744402d to your computer and use it in GitHub Desktop.
Save machouinard/9cf6f87353ef8744402d to your computer and use it in GitHub Desktop.
Force Strict OFF
<?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