HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //var/www/html/triad-infosec/wp-content/plugins/imagify/views/notice-bulk-optimization-complete.php
<?php
defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );

delete_transient( 'imagify_bulk_optimization_complete' );
delete_transient( 'imagify_bulk_optimization_result' );
?>

<div class="notice notice-success is-dismissible">
	<div class="imagify-notice-bulk-complete">
		<div class="imagify-notice-bulk-complete-logo">
			<img src="<?php echo esc_url( IMAGIFY_ASSETS_IMG_URL . 'imagify.svg' ); ?>" width="96" height="96" alt="Imagify" />
		</div>
		<div>
			<p><strong><?php esc_html_e( 'Well done!', 'imagify' ); ?></strong></p>
			<p><?php esc_html_e( 'The bulk optimization is now complete.', 'imagify' ); ?></p>
			<p><?php
				printf(
					// translators: %1$s = number of images optimized, %2$s = size saved, %3$s = total size, %4$s = opening link tag, %5$s = closing link tag.
					__( 'We have optimized %1$s images and you have just saved %2$s out of %3$s. %4$sCheck your stats%5$s' ),
					$data['total'],
					$data['optimized_size'],
					$data['original_size'],
					'<a href="' . esc_url( $data['bulk_page_url'] ) . '">',
					'</a>'
				);
				?>
			</p>
		</div>
<?php $this->print_template( 'notice-footer', [ 'dismissible' => 'bulk-optimization-complete' ] ); ?>