Skip to content

Instantly share code, notes, and snippets.

@adamsilverstein
Created July 21, 2014 17:20
Show Gist options
  • Save adamsilverstein/542528726a67797e3cbf to your computer and use it in GitHub Desktop.
Save adamsilverstein/542528726a67797e3cbf to your computer and use it in GitHub Desktop.
Strict Error Reporting 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