WordPress.org

Make WordPress Core

Ticket #14545: 14545.diff

File 14545.diff, 674 bytes (added by wpmuguru, 8 years ago)
  • wp-load.php

     
    5151
    5252}
    5353
     54if ( !isset( $wpdb ) )
     55        require_once(ABSPATH . 'wp-settings.php');
     56
    5457?>
  • wp-config-sample.php

     
    8585/** Absolute path to the WordPress directory. */
    8686if ( !defined('ABSPATH') )
    8787        define('ABSPATH', dirname(__FILE__) . '/');
    88 
    89 /** Sets up WordPress vars and included files. */
    90 require_once(ABSPATH . 'wp-settings.php');