mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Bootstrap/Load: Change "Insufficient Requirements" wp_die()
heading to "Requirements Not Met", which is more appropriate for the context it's used in.
Props yoavf. Fixes #47575. Built from https://develop.svn.wordpress.org/trunk@45770 git-svn-id: http://core.svn.wordpress.org/trunk@45581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
638bae9392
commit
6041a08347
@ -261,7 +261,7 @@ if ( ! $mysql_compat && ! $php_compat ) {
|
|||||||
|
|
||||||
if ( ! $mysql_compat || ! $php_compat ) {
|
if ( ! $mysql_compat || ! $php_compat ) {
|
||||||
display_header();
|
display_header();
|
||||||
die( '<h1>' . __( 'Insufficient Requirements' ) . '</h1><p>' . $compat . '</p></body></html>' );
|
die( '<h1>' . __( 'Requirements Not Met' ) . '</h1><p>' . $compat . '</p></body></html>' );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! is_string( $wpdb->base_prefix ) || '' === $wpdb->base_prefix ) {
|
if ( ! is_string( $wpdb->base_prefix ) || '' === $wpdb->base_prefix ) {
|
||||||
|
@ -150,7 +150,7 @@ function wp_check_php_mysql_versions() {
|
|||||||
);
|
);
|
||||||
wp_die(
|
wp_die(
|
||||||
__( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' ),
|
__( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' ),
|
||||||
__( 'Insufficient Requirements' ),
|
__( 'Requirements Not Met' ),
|
||||||
$args
|
$args
|
||||||
);
|
);
|
||||||
exit( 1 );
|
exit( 1 );
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45769';
|
$wp_version = '5.3-alpha-45770';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user