WordPress.org

Make WordPress Core

Ticket #11120: wp-load.php.patch

File wp-load.php.patch, 496 bytes (added by ontic, 4 years ago)

Patch for this ticket

  • wp-load.php

     
    1717 */ 
    1818 
    1919/** Define ABSPATH as this files directory */ 
    20 define( 'ABSPATH', dirname(__FILE__) . '/' ); 
     20if ( !defined('ABSPATH') ) 
     21        define( 'ABSPATH', dirname(__FILE__) . '/' ); 
    2122 
    2223if ( defined('E_RECOVERABLE_ERROR') ) 
    2324        error_reporting(E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR);