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:
Gregory Karpinsky 2014-04-01 14:10:06 -04:00
parent 342737907a
commit 464e7ed3a5
1 changed files with 7 additions and 1 deletions

View File

@ -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>