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/minify/cached-file.php +9 -7 3.2.3 → 4.7.0 View file →
@@ -1,11 +1,12 @@
1 -<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>
2 -<li id="<?php echo $file['uid']; ?>">
3 - <span class="filename"><a href="<?php echo esc_url($file['file_url']); ?>" target="_blank"><?php echo htmlspecialchars($file['filename']); ?></a> (<?php echo $file['fsize']; ?>)</span>
4 - <a href="#" class="log"><?php _e('Show information', 'wp-optimize'); ?></a>
1 +<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?>
2 +<li id="<?php echo esc_attr($file['uid']); ?>">
3 + <span class="filename"><a href="<?php echo esc_url($file['file_url']); ?>" target="_blank"><?php echo esc_html($file['filename']); ?></a> (<?php echo esc_html($file['fsize']); ?>)</span>
4 + <a href="#" class="log"><?php esc_html_e('Show information', 'wp-optimize'); ?></a>
5 + <a href="#" class="delete-file" data-filename='<?php echo esc_attr($file['filename']); ?>'><?php esc_html_e('Delete', 'wp-optimize'); ?></a>
5 6 <div class="hidden save_notice">
6 - <p><?php _e('The file was added to the list', 'wp-optimize'); ?></p>
7 - <p><button class="button button-primary save-exclusions"><?php _e('Save the changes', 'wp-optimize'); ?></button></p>
7 + <p><?php esc_html_e('The file was added to the list', 'wp-optimize'); ?></p>
8 + <p><button class="button button-primary save-exclusions"><?php esc_html_e('Save the changes', 'wp-optimize'); ?></button></p>
8 9 </div>
9 10 <div class="hidden wpo_min_log"><?php
10 11 if ($file['log']) {
11 12 WP_Optimize()->include_template(
@@ -11,10 +12,11 @@
11 12 WP_Optimize()->include_template(
12 13 'minify/cached-file-log.php',
13 14 false,
14 15 array(
15 - 'log' => $file['log']
16 + 'log' => $file['log'],
17 + 'minify_config' => $minify_config,
16 18 )
17 19 );
18 20 }
19 21 ?></div>
20 22 </li>