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/bulk
File: limit-reached-notice.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Limit reached notice metabox on bulk smush page.
[2] Fix | Delete
*
[3] Fix | Delete
* @var bool $with_resume_button With resume button or not.
[4] Fix | Delete
*/
[5] Fix | Delete
?>
[6] Fix | Delete
<div id="smush-limit-reached-notice" class="sui-notice sui-notice-warning sui-hidden smush-limit-reached-notice">
[7] Fix | Delete
<div class="sui-notice-content">
[8] Fix | Delete
<div class="sui-notice-message">
[9] Fix | Delete
<i class="sui-notice-icon sui-icon-info sui-md" aria-hidden="true"></i>
[10] Fix | Delete
<p>
[11] Fix | Delete
<?php
[12] Fix | Delete
$is_directory_smush = 'smush-directory' === $this->get_slug();
[13] Fix | Delete
$upgrade_url = $this->get_utm_link(
[14] Fix | Delete
array(
[15] Fix | Delete
'utm_campaign' => $is_directory_smush ? 'smush_directory_smush_paused_50_limit' : 'smush_bulk_smush_paused_50_limit',
[16] Fix | Delete
)
[17] Fix | Delete
);
[18] Fix | Delete
$bg_optimization = WP_Smush::get_instance()->core()->mod->bg_optimization;
[19] Fix | Delete
$discount = WP_Smush::get_instance()->admin()->get_plugin_discount();
[20] Fix | Delete
/* translators: %s: Discount */
[21] Fix | Delete
$discount_text = '<strong>' . sprintf( esc_html__( 'Get %s off when you upgrade today.', 'wp-smushit' ), $discount ) . '</strong>';
[22] Fix | Delete
printf(
[23] Fix | Delete
/* translators: %s1$d - bulk smush limit, %2$s - upgrade link, %3$s - <strong>, %4$s - </strong>, %5$s - Bulk Smush limit */
[24] Fix | Delete
esc_html__( 'The free version of Smush only allows you to compress %1$d images at a time. %2$s to compress %3$sunlimited images at once%4$s or click Resume to compress another %1$d images. %5$s', 'wp-smushit' ),
[25] Fix | Delete
Smush\Core\Core::MAX_FREE_BULK,
[26] Fix | Delete
'<a class="smush-upsell-link" href="' . esc_url( $upgrade_url ) . '" target="_blank"><strong>' . esc_html__( 'Upgrade to Smush Pro', 'wp-smushit' ) . '</strong></a>',
[27] Fix | Delete
'<strong>',
[28] Fix | Delete
'</strong>',
[29] Fix | Delete
$discount_text
[30] Fix | Delete
)
[31] Fix | Delete
?>
[32] Fix | Delete
</p>
[33] Fix | Delete
</div>
[34] Fix | Delete
</div>
[35] Fix | Delete
</div>
[36] Fix | Delete
[37] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function