From 300878174640cab535ca27d2bef8f5bd71c33bf6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 8 Aug 2019 12:53:21 +0000 Subject: [PATCH] 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 --- src/wp-admin/install.php | 2 +- src/wp-includes/load.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/install.php b/src/wp-admin/install.php index 472e6b77a0..60ae4d33dc 100644 --- a/src/wp-admin/install.php +++ b/src/wp-admin/install.php @@ -261,7 +261,7 @@ if ( ! $mysql_compat && ! $php_compat ) { if ( ! $mysql_compat || ! $php_compat ) { display_header(); - die( '

' . __( 'Insufficient Requirements' ) . '

' . $compat . '

' ); + die( '

' . __( 'Requirements Not Met' ) . '

' . $compat . '

' ); } if ( ! is_string( $wpdb->base_prefix ) || '' === $wpdb->base_prefix ) { diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php index 86aebead6c..f9455eed7d 100644 --- a/src/wp-includes/load.php +++ b/src/wp-includes/load.php @@ -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 );