( 'Bulk compression completed for %s', 'wp-smushit' ),
'mail_desc' => __( 'The bulk compress you actioned has successfully completed. Here’s a quick summary of the results:', 'wp-smushit' ),
'total_title' => __( 'Total image attachments', 'wp-smushit' ),
'total_desc' => __( 'The number of images analyzed during the bulk compress.', 'wp-smushit' ),
'smushed_title' => __( 'Images compressed successfully', 'wp-smushit' ),
'smushed_desc' => __( 'The number of images successfully compressed.', 'wp-smushit' ),
'failed_title' => __( 'Images failed to compress', 'wp-smushit' ),
'failed_desc' => $failed_msg,
);
}
return array(
/* translators: %s: Site URL */
'mail_title' => __( 'Bulk Smush completed for %s', 'wp-smushit' ),
'mail_desc' => __( 'The bulk smush you actioned has successfully completed. Here’s a quick summary of the results:', 'wp-smushit' ),
'total_title' => __( 'Total image attachments', 'wp-smushit' ),
'total_desc' => __( 'The number of images analyzed during the bulk smush.', 'wp-smushit' ),
'smushed_title' => __( 'Images smushed successfully', 'wp-smushit' ),
'smushed_desc' => __( 'The number of images successfully compressed.', 'wp-smushit' ),
'failed_title' => __( 'Images failed to smush', 'wp-smushit' ),
'failed_desc' => $failed_msg,
);
}
/**
* Get upsell CDN content.
*/
private function get_upsell_content() {
if ( WP_Smush::is_pro() ) {
return;
}
$upsell_url = add_query_arg(
array(
'utm_source' => 'smush',
'utm_medium' => 'plugin',
'utm_campaign' => 'smush_bulksmush_bo_email',
),
'https://wpmudev.com/project/wp-smush-pro/'
);
return $this->view->get_template_content(
'email/upsell-cdn',
array(
'upsell_url' => $upsell_url,
)
);
}
}
Fatal error: Uncaught Error: Class 'Smush\Core\Modules\Bulk\Mail' not found in /home/deltakeprico/public_html/wp-content/plugins/wp-smushit/core/modules/bulk/class-background-bulk-smush.php:45
Stack trace:
#0 /home/deltakeprico/public_html/wp-content/plugins/wp-smushit/core/modules/bulk/class-background-bulk-smush.php(33): Smush\Core\Modules\Bulk\Background_Bulk_Smush->__construct()
#1 /home/deltakeprico/public_html/wp-content/plugins/wp-smushit/core/media-library/class-media-library-last-process.php(43): Smush\Core\Modules\Bulk\Background_Bulk_Smush::get_instance()
#2 /home/deltakeprico/public_html/wp-content/plugins/wp-smushit/core/media-library/class-media-library-last-process.php(34): Smush\Core\Media_Library\Media_Library_Last_Process->__construct()
#3 /home/deltakeprico/public_html/wp-content/plugins/wp-smushit/core/modules/class-product-analytics-controller.php(56): Smush\Core\Media_Library\Media_Library_Last_Process::get_instance()
#4 /home/deltakeprico/public_html/wp-content/plugins/wp-smushit/core/class-modules. in /home/deltakeprico/public_html/wp-content/plugins/wp-smushit/core/modules/bulk/class-background-bulk-smush.php on line 45