| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/laragon/backup/www/quilla/wp-content/plugins/wp-smushit/app/views/dashboard/bulk/ |
Upload File : |
<?php
/**
* Bulk compress dashboard meta box.
*
* @since 3.8.6
* @package WP_Smush
*
* @var int $uncompressed Number of uncompressed attachments.
* @var string $upsell_url Upsell URL.
* @var bool $background_processing_enabled Whether background processing is enabled or not.
* @var bool $background_in_processing Whether BO is in processing or not.
* @var int $total_count Total count.
*/
if ( ! defined( 'WPINC' ) ) {
die;
}
if ( $background_processing_enabled ) {
$msg = __( 'Bulk smush detects images that can be optimized and allows you to compress them in bulk in the background without any quality loss.', 'wp-smushit' );
} else {
$msg = __( 'Bulk smush detects images that can be optimized and allows you to compress them in bulk.', 'wp-smushit' );
}
?>
<p><?php echo esc_html( $msg ); ?></p>
<?php
if ( $background_in_processing ) {
$this->view( 'background-in-processing', array(), 'views/dashboard/bulk' );
} elseif ( 0 === $total_count ) {
$this->view( 'media-lib-empty', array(), 'views/dashboard/bulk' );
} elseif ( 0 === $uncompressed ) {
$this->view( 'all-images-smushed-notice', array( 'all_done' => true ), 'common' );
} else {
$this->view( 'exists-uncompressed', array( 'uncompressed' => $uncompressed, 'upsell_url' => $upsell_url ), 'views/dashboard/bulk' );
}