Changeset 47198 for trunk/src/wp-includes/load.php
- Timestamp:
- 02/06/2020 06:31:22 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/load.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r47156 r47198 140 140 141 141 if ( ! extension_loaded( 'mysql' ) && ! extension_loaded( 'mysqli' ) && ! extension_loaded( 'mysqlnd' ) && ! file_exists( WP_CONTENT_DIR . '/db.php' ) ) { 142 require_once ( ABSPATH . WPINC . '/functions.php' );142 require_once ABSPATH . WPINC . '/functions.php'; 143 143 wp_load_translations_early(); 144 144 $args = array( … … 193 193 global $upgrading; 194 194 195 include( ABSPATH . '.maintenance' );195 require ABSPATH . '.maintenance'; 196 196 // If the $upgrading timestamp is older than 10 minutes, don't die. 197 197 if ( ( time() - $upgrading ) >= 600 ) { … … 217 217 218 218 if ( file_exists( WP_CONTENT_DIR . '/maintenance.php' ) ) { 219 require_once ( WP_CONTENT_DIR . '/maintenance.php' );219 require_once WP_CONTENT_DIR . '/maintenance.php'; 220 220 die(); 221 221 } 222 222 223 require_once ( ABSPATH . WPINC . '/functions.php' );223 require_once ABSPATH . WPINC . '/functions.php'; 224 224 wp_load_translations_early(); 225 225 … … 410 410 global $wpdb; 411 411 412 require_once ( ABSPATH . WPINC . '/wp-db.php' );412 require_once ABSPATH . WPINC . '/wp-db.php'; 413 413 if ( file_exists( WP_CONTENT_DIR . '/db.php' ) ) { 414 require_once ( WP_CONTENT_DIR . '/db.php' );414 require_once WP_CONTENT_DIR . '/db.php'; 415 415 } 416 416 … … 545 545 */ 546 546 if ( file_exists( WP_CONTENT_DIR . '/object-cache.php' ) ) { 547 require_once ( WP_CONTENT_DIR . '/object-cache.php' );547 require_once WP_CONTENT_DIR . '/object-cache.php'; 548 548 if ( function_exists( 'wp_cache_init' ) ) { 549 549 wp_using_ext_object_cache( true ); … … 567 567 568 568 if ( ! wp_using_ext_object_cache() ) { 569 require_once ( ABSPATH . WPINC . '/cache.php' );569 require_once ABSPATH . WPINC . '/cache.php'; 570 570 } 571 571 … … 607 607 nocache_headers(); 608 608 609 require ( ABSPATH . WPINC . '/kses.php' );610 require ( ABSPATH . WPINC . '/pluggable.php' );609 require ABSPATH . WPINC . '/kses.php'; 610 require ABSPATH . WPINC . '/pluggable.php'; 611 611 612 612 $link = wp_guess_url() . '/wp-admin/install.php';
Note: See TracChangeset
for help on using the changeset viewer.