parent
3ed7e3574a
commit
b1d4ce3276
|
@ -174,7 +174,13 @@ global $wpdb;
|
||||||
</tr>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php
|
<?php
|
||||||
if ( ! empty( $wpdb->is_mysql ) ) : ?>
|
if ( $wpdb->use_mysqli ) {
|
||||||
|
$ver = mysqli_get_server_info( $wpdb->dbh );
|
||||||
|
} else {
|
||||||
|
$ver = mysql_get_server_info();
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( ! empty( $wpdb->is_mysql ) && stristr( $ver, 'MySQL' ) ) : ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td data-export-label="MySQL Version"><?php _e( 'MySQL Version', 'woocommerce' ); ?>:</td>
|
<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>
|
<td class="help"><?php echo wc_help_tip( __( 'The version of MySQL installed on your hosting server.', 'woocommerce' ) ); ?></td>
|
||||||
|
|
Loading…
Reference in New Issue