Bootstrap/Load: Revert [49161] from the 5.5 branch.

See #50913.
Built from https://develop.svn.wordpress.org/branches/5.5@49164


git-svn-id: http://core.svn.wordpress.org/branches/5.5@48926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-10-15 21:19:05 +00:00
parent 4c768414d6
commit f2b876135c
2 changed files with 2 additions and 6 deletions

View File

@ -112,11 +112,7 @@ function wp_check_php_mysql_versions() {
exit( 1 ); exit( 1 );
} }
if ( ! extension_loaded( 'mysql' ) && ! extension_loaded( 'mysqli' ) && ! extension_loaded( 'mysqlnd' ) if ( ! extension_loaded( 'mysql' ) && ! extension_loaded( 'mysqli' ) && ! extension_loaded( 'mysqlnd' ) && ! file_exists( WP_CONTENT_DIR . '/db.php' ) ) {
// This runs before default constants are defined, so we can't assume WP_CONTENT_DIR is set yet
&& ( ( defined( 'WP_CONTENT_DIR' ) && ! file_exists( WP_CONTENT_DIR . '/db.php' ) )
|| ( ! file_exists( ABSPATH . 'wp-content/db.php' ) ) )
) {
require_once ABSPATH . WPINC . '/functions.php'; require_once ABSPATH . WPINC . '/functions.php';
wp_load_translations_early(); wp_load_translations_early();
$args = array( $args = array(

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.5.2-alpha-49161'; $wp_version = '5.5.2-alpha-49164';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.