WordPress.org

Make WordPress Core

Ticket #19580: 19580.patch

File 19580.patch, 901 bytes (added by linuxologos, 2 years ago)
  • wp-load.php

     
    1818 * @package WordPress 
    1919 */ 
    2020 
    21 /** Define ABSPATH as this files directory */ 
     21/** Define ABSPATH as this file's directory */ 
    2222define( 'ABSPATH', dirname(__FILE__) . '/' ); 
    2323 
    2424error_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 ); 
     
    3030 
    3131} elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) && ! file_exists( dirname(ABSPATH) . '/wp-settings.php' ) ) { 
    3232 
    33         /** The config file resides one level above ABSPATH but is not part of another install*/ 
     33        /** The config file resides one level above ABSPATH but is not part of another install */ 
    3434        require_once( dirname(ABSPATH) . '/wp-config.php' ); 
    3535 
    3636} else {