HEX
Server: Apache/2.4.65 (Debian)
System: Linux 88f31f35b0b8 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wp-optimize/templates/images/smush-details.php
<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?>
<a class="wpo-collapsible"><?php esc_html_e('More', 'wp-optimize'); ?></a>
<div class="wpo-collapsible-content">
	<table class="smush-details">
		<thead>
			<tr>
				<th><?php esc_html_e('Size name', 'wp-optimize'); ?></th>
				<th><?php esc_html_e('Original', 'wp-optimize'); ?></th>
				<th><?php esc_html_e('Compressed', 'wp-optimize'); ?></th>
				<th></th>
			</tr>
		</thead>
		<tbody>
			<?php foreach ($sizes_info as $size => $info) {
				$saved = round((($info['original'] - $info['compressed']) / $info['original'] * 100), 2);
			?>
				<tr>
					<td><?php echo esc_html($size); ?></td>
					<td><?php echo esc_html(WP_Optimize()->format_size($info['original'], 1)); ?></td>
					<td><?php echo esc_html(WP_Optimize()->format_size($info['compressed'], 1)); ?></td>
					<td><?php echo esc_html($saved); ?>%</td>
				</tr>    
			<?php } ?>
		</tbody>
	</table>
</div>