Update html-admin-page-status-report.php
Use `$wpdb->db_version()` instead of `mysql_get_server_info()` deprecated in PHP 5.5
This commit is contained in:
parent
342737907a
commit
464e7ed3a5
|
@ -47,7 +47,13 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><?php _e( 'MySQL Version','woocommerce' ); ?>:</td>
|
||||
<td><?php if ( function_exists( 'mysql_get_server_info' ) ) echo esc_html( mysql_get_server_info() ); ?></td>
|
||||
<td>
|
||||
<?php
|
||||
/** @global wpdb $wpdb */
|
||||
global $wpdb;
|
||||
echo $wpdb->db_version();
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php _e( 'WP Memory Limit','woocommerce' ); ?>:</td>
|
||||
|
|
Loading…
Reference in New Issue