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. git-svn-id: https://develop.svn.wordpress.org/trunk@45770 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c645936163
commit
3008781746
@ -261,7 +261,7 @@ if ( ! $mysql_compat && ! $php_compat ) {
|
||||
|
||||
if ( ! $mysql_compat || ! $php_compat ) {
|
||||
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 ) {
|
||||
|
@ -150,7 +150,7 @@ function wp_check_php_mysql_versions() {
|
||||
);
|
||||
wp_die(
|
||||
__( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' ),
|
||||
__( 'Insufficient Requirements' ),
|
||||
__( 'Requirements Not Met' ),
|
||||
$args
|
||||
);
|
||||
exit( 1 );
|
||||
|
Loading…
Reference in New Issue
Block a user