parent
3ed7e3574a
commit
b1d4ce3276
|
@ -174,7 +174,13 @@ global $wpdb;
|
|||
</tr>
|
||||
<?php endif; ?>
|
||||
<?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>
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue