wp_back/wp-content/plugins/wp-smushit/app/common/all-images-smushed-notice.php

24 lines
562 B
PHP
Raw Permalink Normal View History

2024-05-20 15:37:46 +03:00
<?php
/**
* Meta box layout.
*
* @package WP_Smush
* @since 3.7.2
*
* @var boolean $all_done Whether all images were already smushed.
*/
if ( ! defined( 'WPINC' ) ) {
die;
}
?>
<div class="sui-notice sui-notice-success wp-smush-all-done<?php echo $all_done ? '' : ' sui-hidden'; ?>">
<div class="sui-notice-content">
<div class="sui-notice-message">
<i class="sui-notice-icon sui-icon-check-tick sui-md" aria-hidden="true"></i>
<p><?php esc_html_e( 'All attachments have been smushed. Awesome!', 'wp-smushit' ); ?></p>
</div>
</div>
</div>