| 1 | Index: wp-settings.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-settings.php (revision 10284) |
|---|
| 4 | +++ wp-settings.php (working copy) |
|---|
| 5 | @@ -199,7 +199,10 @@ |
|---|
| 6 | if (defined('WP_DEBUG') and WP_DEBUG == true) { |
|---|
| 7 | error_reporting(E_ALL); |
|---|
| 8 | } else { |
|---|
| 9 | - error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); |
|---|
| 10 | + if( defined( 'E_DEPRECATED' ) ) |
|---|
| 11 | + error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE ^ E_DEPRECATED); |
|---|
| 12 | + else |
|---|
| 13 | + error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); |
|---|
| 14 | } |
|---|
| 15 | |
|---|
| 16 | // For an advanced caching plugin to use, static because you would only want one |
|---|