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.

This commit is contained in:
Justin Shreve 2016-07-21 13:20:49 -07:00
parent f5f6245405
commit dbba5c7bbc
1 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ global $wpdb;
$ver = mysql_get_server_info();
}
if ( ! empty( $wpdb->is_mysql ) && stristr( $ver, 'MySQL' ) ) : ?>
if ( ! empty( $wpdb->is_mysql ) ) : ?>
<tr>
<td data-export-label="MySQL Version"><?php _e( 'MySQL Version', 'woocommerce' ); ?>:</td>
<td class="help"><?php echo wc_help_tip( __( 'The version of MySQL installed on your hosting server.', 'woocommerce' ) ); ?></td>