Ticket #9639: 9639.diff
| File 9639.diff, 773 bytes (added by jacobsantos, 4 years ago) |
|---|
-
wp-load.php
19 19 /** Define ABSPATH as this files directory */ 20 20 define( 'ABSPATH', dirname(__FILE__) . '/' ); 21 21 22 error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); 22 // Unicode Extension is in PHP 6.0 only or do version check when this changes. 23 if ( function_exists('unicode_decode') ) 24 error_reporting( E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_USER_NOTICE ^ E_STRICT ); 25 else if ( defined( 'E_DEPRECATED' ) ) // Introduced in PHP 5.3 26 error_reporting( E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_USER_NOTICE ); 27 else 28 error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); 23 29 24 30 if ( file_exists( ABSPATH . 'wp-config.php') ) { 25 31