Merge pull request #16687 from pmgarman/patch-2
Match the database sizes up with the right labels
This commit is contained in:
commit
671a4d7b21
|
@ -346,19 +346,19 @@ $untested_plugins = $plugin_updates->get_untested_plugins( WC()->version, 'minor
|
|||
<tr>
|
||||
<td><?php _e( 'Total Database Size', 'woocommerce' ); ?></td>
|
||||
<td class="help"> </td>
|
||||
<td><?php printf( '%.2fMB', $database['database_size']['data'] ); ?></td>
|
||||
<td><?php printf( '%.2fMB', $database['database_size']['data'] + $database['database_size']['index'] ); ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><?php _e( 'Database Data Size', 'woocommerce' ); ?></td>
|
||||
<td class="help"> </td>
|
||||
<td><?php printf( '%.2fMB', $database['database_size']['index'] ); ?></td>
|
||||
<td><?php printf( '%.2fMB', $database['database_size']['data'] ); ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><?php _e( 'Database Index Size', 'woocommerce' ); ?></td>
|
||||
<td class="help"> </td>
|
||||
<td><?php printf( '%.2fMB', $database['database_size']['data'] + $database['database_size']['index'] ); ?></td>
|
||||
<td><?php printf( '%.2fMB', $database['database_size']['index'] ); ?></td>
|
||||
</tr>
|
||||
|
||||
<?php foreach ( $database['database_tables']['woocommerce'] as $table => $table_data ) { ?>
|
||||
|
|
Loading…
Reference in New Issue