WordPress.org

Make WordPress Core

Ticket #19651: fix1.diff

File fix1.diff, 1.1 KB (added by greuben, 8 years ago)
  • wp-load.php

     
    2121/** Define ABSPATH as this files directory */
    2222define( 'ABSPATH', dirname(__FILE__) . '/' );
    2323
     24/**
     25 * Stores the location of the WordPress directory of functions, classes, and core content.
     26 *
     27 * @since 1.0.0
     28 */
     29define( 'WPINC', 'wp-includes' );
     30
    2431error_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 );
    2532
    2633if ( file_exists( ABSPATH . 'wp-config.php') ) {
  • wp-settings.php

     
    1010 * @package WordPress
    1111 */
    1212
    13 /**
    14  * Stores the location of the WordPress directory of functions, classes, and core content.
    15  *
    16  * @since 1.0.0
    17  */
    18 define( 'WPINC', 'wp-includes' );
    1913
    2014// Include files required for initialization.
    2115require( ABSPATH . WPINC . '/load.php' );