Ticket #26592: 26592.diff
File 26592.diff, 1.9 KB (added by , 9 years ago) |
---|
-
wp-admin/load-scripts.php
8 8 error_reporting(0); 9 9 10 10 /** Set ABSPATH for execution */ 11 define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' ); 11 if ( !defined( 'ABSPATH' ) ) 12 define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' ); 12 13 define( 'WPINC', 'wp-includes' ); 13 14 14 15 $load = $_GET['load']; -
wp-admin/load-styles.php
8 8 error_reporting(0); 9 9 10 10 /** Set ABSPATH for execution */ 11 define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' ); 11 if ( !defined( 'ABSPATH' ) ) 12 define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' ); 12 13 define( 'WPINC', 'wp-includes' ); 13 14 14 15 require( ABSPATH . 'wp-admin/includes/noop.php' ); -
wp-admin/setup-config.php
28 28 */ 29 29 error_reporting(0); 30 30 31 define( 'ABSPATH', dirname( dirname( __FILE__ ) ) . '/' ); 31 if ( !defined( 'ABSPATH' ) ) 32 define( 'ABSPATH', dirname( dirname( __FILE__ ) ) . '/' ); 32 33 33 34 require( ABSPATH . 'wp-settings.php' ); 34 35 -
wp-load.php
19 19 */ 20 20 21 21 /** Define ABSPATH as this file's directory */ 22 define( 'ABSPATH', dirname(__FILE__) . '/' ); 22 if ( !defined( 'ABSPATH' ) ) 23 define( 'ABSPATH', dirname(__FILE__) . '/' ); 23 24 24 25 error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR ); 25 26