: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* @var integer $count Total number of images to smush.
* @var string $background_in_processing_notice
* @var bool $background_processing_enabled
if ( ! defined( 'WPINC' ) ) {
<div class="wp-smush-scan-progress-bar-wrapper sui-hidden">
<div class="wp-smush-scan-progress-bar-inner">
<div class="wp-smush-progress-status">
<div class="wp-smush-scan-description">
<h4><?php esc_html_e( 'Scanning Media Library', 'wp-smushit' ); ?></h4>
<span class="wp-smush-progress-percent">0%</span>
/* translators: 1: Open span tag <span> 2: Close span tag </span> */
printf( esc_html__( 'Image re-check in progress - %1$s0 seconds%2$s remaining', 'wp-smushit' ), '<span class="wp-smush-remaining-time">', '</span>' );
<p class="wp-smush-scan-hold-on-notice sui-hidden">
/* translators: 1: <strong> 2: </strong> */
printf( esc_html__( '%1$sNote:%2$s This is taking longer than expected, please hold on.', 'wp-smushit' ), '<strong>', '</strong>' );
<button type="button" class="sui-button wp-smush-cancel-scan-progress-btn">
<?php esc_html_e( 'Cancel Scan', 'wp-smushit' ); ?>
<div class="sui-progress">
<div class="sui-progress-bar">
<span class="wp-smush-progress-inner" style="width: 0.1%"></span>