Changeset 49161 for branches/5.5
- Timestamp:
- 10/15/2020 05:05:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5/src/wp-includes/load.php
r48896 r49161 113 113 } 114 114 115 if ( ! extension_loaded( 'mysql' ) && ! extension_loaded( 'mysqli' ) && ! extension_loaded( 'mysqlnd' ) && ! file_exists( WP_CONTENT_DIR . '/db.php' ) ) { 115 if ( ! extension_loaded( 'mysql' ) && ! extension_loaded( 'mysqli' ) && ! extension_loaded( 'mysqlnd' ) 116 // This runs before default constants are defined, so we can't assume WP_CONTENT_DIR is set yet 117 && ( ( defined( 'WP_CONTENT_DIR' ) && ! file_exists( WP_CONTENT_DIR . '/db.php' ) ) 118 || ( ! file_exists( ABSPATH . 'wp-content/db.php' ) ) ) 119 ) { 116 120 require_once ABSPATH . WPINC . '/functions.php'; 117 121 wp_load_translations_early();
Note: See TracChangeset
for help on using the changeset viewer.