From dbba5c7bbc3f90a1dc48fac727ba2fda16fa661f Mon Sep 17 00:00:00 2001 From: Justin Shreve Date: Thu, 21 Jul 2016 13:20:49 -0700 Subject: [PATCH] Remove "MySQL" string check on version, which was preventing the MySQL version from displaying on the system status report. Version #s don't seem to include "MySQL" in them anymore so the check would prevent the block from being shown. --- includes/admin/views/html-admin-page-status-report.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/admin/views/html-admin-page-status-report.php b/includes/admin/views/html-admin-page-status-report.php index 60c96f8f8ed..b0822abe302 100644 --- a/includes/admin/views/html-admin-page-status-report.php +++ b/includes/admin/views/html-admin-page-status-report.php @@ -180,7 +180,7 @@ global $wpdb; $ver = mysql_get_server_info(); } - if ( ! empty( $wpdb->is_mysql ) && stristr( $ver, 'MySQL' ) ) : ?> + if ( ! empty( $wpdb->is_mysql ) ) : ?> : @@ -349,7 +349,7 @@ global $wpdb;   - prefix ) > 20 ) { echo ' ' . sprintf( __( '%s - We recommend using a prefix with less than 20 characters. See: %s', 'woocommerce' ), esc_html( $wpdb->prefix ), '' . __( 'How to update your database table prefix', 'woocommerce' ) . '' ) . ''; } else {