Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wp-smush.../app/views/dashboar.../bulk
File: exists-uncompressed.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Bulk compress dashboard meta box.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 3.8.6
[4] Fix | Delete
* @package WP_Smush
[5] Fix | Delete
*
[6] Fix | Delete
* @var int $uncompressed Number of uncompressed attachments.
[7] Fix | Delete
* @var string $upsell_url Upsell URL.
[8] Fix | Delete
* @var bool $background_processing_enabled Whether background processing is enabled or not.
[9] Fix | Delete
* @var bool $background_in_processing Whether BO is in processing or not.
[10] Fix | Delete
* @var int $total_count Total count.
[11] Fix | Delete
*/
[12] Fix | Delete
?>
[13] Fix | Delete
<div class="sui-notice sui-notice-warning">
[14] Fix | Delete
<div class="sui-notice-content">
[15] Fix | Delete
<div class="sui-notice-message">
[16] Fix | Delete
<span class="sui-notice-icon sui-icon-warning-alert sui-md" aria-hidden="true"></span>
[17] Fix | Delete
<p>
[18] Fix | Delete
<?php
[19] Fix | Delete
printf( /* translators: %d - number of uncompressed attachments */
[20] Fix | Delete
esc_html__( 'You have %d images that needs compressing!', 'wp-smushit' ),
[21] Fix | Delete
(int) $uncompressed
[22] Fix | Delete
);
[23] Fix | Delete
?>
[24] Fix | Delete
</p>
[25] Fix | Delete
</div>
[26] Fix | Delete
</div>
[27] Fix | Delete
</div>
[28] Fix | Delete
<?php
[29] Fix | Delete
$bg_optimization = WP_Smush::get_instance()->core()->mod->bg_optimization;
[30] Fix | Delete
$show_bulk_limit_notice = ! $bg_optimization->can_use_background();
[31] Fix | Delete
if ( $show_bulk_limit_notice && $uncompressed > \Smush\Core\Core::MAX_FREE_BULK ) : ?>
[32] Fix | Delete
<div class="sui-notice sui-notice-upsell">
[33] Fix | Delete
<div class="sui-notice-content">
[34] Fix | Delete
<div class="sui-notice-message">
[35] Fix | Delete
<span class="sui-notice-icon sui-icon-info sui-md" aria-hidden="true"></span>
[36] Fix | Delete
<p>
[37] Fix | Delete
<?php
[38] Fix | Delete
printf( /* translators: %1$s - opening <a> tag, %2$s - closing </a> tag, %3$s - number of images */
[39] Fix | Delete
esc_html__( '%1$sUpgrade to Pro%2$s to bulk smush all images in one click. Free users can smush %3$s images per batch.', 'wp-smushit' ),
[40] Fix | Delete
'<a href="' . esc_url( $upsell_url ) . '" target="_blank" class="smush-upsell-link">',
[41] Fix | Delete
'</a>',
[42] Fix | Delete
(int) \Smush\Core\Core::MAX_FREE_BULK
[43] Fix | Delete
);
[44] Fix | Delete
?>
[45] Fix | Delete
</p>
[46] Fix | Delete
</div>
[47] Fix | Delete
</div>
[48] Fix | Delete
</div>
[49] Fix | Delete
<?php endif; ?>
[50] Fix | Delete
<a href="<?php echo esc_url( $this->get_url( 'smush-bulk&smush-action=start-bulk-smush' ) ); ?>" class="sui-button sui-button-blue wp-smush-bulk-smush-link">
[51] Fix | Delete
<?php esc_html_e( 'Bulk Smush', 'wp-smushit' ); ?>
[52] Fix | Delete
</a>
[53] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function