PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / 4.7.0
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance v4.7.0
4.7.0 4.6.1 4.6.0 4.5.5 4.5.4 4.5.3 4.5.2 3.2.20 3.2.21 3.2.22 3.2.3 3.2.5 3.2.6 3.2.7 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.7.0 3.7.1 All 111 releases
← All changes | templates/database/tables.php +5 -5 3.2.21 → 4.7.0 View file →
@@ -1,5 +1,5 @@
1 -<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>
1 +<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?>
2 2 <div class="wpo_shade hidden">
3 3 <div class="wpo_shade_inner">
4 4 <span class="dashicons dashicons-update-alt wpo-rotate"></span>
5 5 <h4><?php esc_html_e('Loading data...', 'wp-optimize'); ?></h4>
@@ -32,9 +32,9 @@
32 32 <?php
33 33 }
34 34 ?>
35 35
36 -<table id="wpoptimize_table_list" class="wp-list-table widefat striped tablesorter wp-list-table-mobile-labels">
36 +<table id="wpoptimize_table_list" class="wp-list-table widefat striped wp-list-table-mobile-labels sortable">
37 37 <thead>
38 38 <tr>
39 39 <th><?php esc_html_e('No.', 'wp-optimize'); ?></th>
40 40 <th class="column-primary"><?php esc_html_e('Table', 'wp-optimize'); ?></th>
@@ -42,20 +42,20 @@
42 42 <th><?php esc_html_e('Data Size', 'wp-optimize'); ?></th>
43 43 <th><?php esc_html_e('Index Size', 'wp-optimize'); ?></th>
44 44 <th><?php esc_html_e('Type', 'wp-optimize'); ?></th>
45 45 <th><?php esc_html_e('Overhead', 'wp-optimize'); ?></th>
46 - <th><?php esc_html_e('Actions', 'wp-optimize'); ?></th>
46 + <th class="no-sort"><?php esc_html_e('Actions', 'wp-optimize'); ?></th>
47 47 </tr>
48 48 </thead>
49 49 <?php
50 50 if ($load_data) {
51 - WP_Optimize()->include_template('database/tables-body.php', false, array('optimize_db' => $optimize_db));
51 + WP_Optimize()->include_template('database/tables-body.php', false, $table_list_data);
52 52 } else {
53 53 ?>
54 54 <tbody>
55 55 <tr>
56 56 <td></td>
57 - <td class="loading" align="center" colspan="6"><img class="wpo-ajax-template-loader" width="16" height="16" src="<?php echo esc_url(admin_url('images/spinner-2x.gif')); ?>"> <?php esc_html_e('Loading tables list...', 'wp-optimize'); ?></td>
57 + <td class="loading" colspan="6"><img class="wpo-ajax-template-loader" width="16" height="16" src="<?php echo esc_url(admin_url('images/spinner-2x.gif')); // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage -- N/A ?>" alt="..."> <?php esc_html_e('Loading tables list...', 'wp-optimize'); ?></td>
58 58 <td></td>
59 59 </tr>
60 60 </tbody>
61 61 <?php } ?>