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/webp
File: disabled-meta-box.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* WebP disabled meta box.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 3.8.0
[4] Fix | Delete
* @package WP_Smush
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
if ( ! defined( 'WPINC' ) ) {
[8] Fix | Delete
die;
[9] Fix | Delete
}
[10] Fix | Delete
[11] Fix | Delete
?>
[12] Fix | Delete
[13] Fix | Delete
<div class="sui-message sui-no-padding">
[14] Fix | Delete
<?php if ( ! apply_filters( 'wpmudev_branding_hide_branding', false ) ) : ?>
[15] Fix | Delete
<img src="<?php echo esc_url( WP_SMUSH_URL . 'app/assets/images/graphic-smush-webp-default.png' ); ?>"
[16] Fix | Delete
srcset="<?php echo esc_url( WP_SMUSH_URL . 'app/assets/images/graphic-smush-webp-default@2x.png' ); ?> 2x" alt="<?php esc_html_e( 'Smush WebP', 'wp-smushit' ); ?>" class="sui-image" />
[17] Fix | Delete
<?php endif; ?>
[18] Fix | Delete
<div class="sui-message-content">
[19] Fix | Delete
<p>
[20] Fix | Delete
<?php esc_html_e( 'Fix the "Serve images in next-gen format" Google PageSpeed recommendation with a single click! Serve WebP images directly from your server to supported browsers, while seamlessly switching to original images for those without WebP support. All without relying on a CDN or any server configuration.', 'wp-smushit' ); ?>
[21] Fix | Delete
</p>
[22] Fix | Delete
<?php if ( $this->settings->has_cdn_page() && $this->settings->is_cdn_active() ) : ?>
[23] Fix | Delete
<div class="sui-notice sui-notice-warning" style="text-align: left" >
[24] Fix | Delete
<div class="sui-notice-content">
[25] Fix | Delete
<div class="sui-notice-message">
[26] Fix | Delete
<span class="sui-notice-icon sui-icon-warning-alert sui-md" aria-hidden="true"></span>
[27] Fix | Delete
<p>
[28] Fix | Delete
<?php
[29] Fix | Delete
if ( $this->settings->is_cdn_webp_conversion_active() ) {
[30] Fix | Delete
printf( /* translators: 1: Opening a link, 2: Closing the link */
[31] Fix | Delete
esc_html__( 'It looks like your site is already serving WebP images via the CDN. Please %1$sdisable the CDN%2$s if you prefer to use Local WebP instead.', 'wp-smushit' ),
[32] Fix | Delete
'<a href="' . esc_url( $this->get_url( 'smush-cdn#smush-cancel-cdn' ) ) . '">',
[33] Fix | Delete
'</a>'
[34] Fix | Delete
);
[35] Fix | Delete
} else {
[36] Fix | Delete
printf( /* translators: 1: Opening a link, 2: Closing the link */
[37] Fix | Delete
esc_html__( 'It looks like the CDN is enabled. Please %1$senable WebP support%2$s on the CDN page to serve WebP images via the CDN. Or disable the CDN if you wish to use Local WebP.', 'wp-smushit' ),
[38] Fix | Delete
'<a href="' . esc_url( $this->get_url( 'smush-cdn#webp' ) ) . '">',
[39] Fix | Delete
'</a>'
[40] Fix | Delete
);
[41] Fix | Delete
}
[42] Fix | Delete
?>
[43] Fix | Delete
</p>
[44] Fix | Delete
</div>
[45] Fix | Delete
</div>
[46] Fix | Delete
</div>
[47] Fix | Delete
<button class="sui-button sui-button-blue" disabled="true" id="smush-toggle-webp-button" data-action="enable">
[48] Fix | Delete
<?php else : ?>
[49] Fix | Delete
<button class="sui-button sui-button-blue" id="smush-toggle-webp-button" data-action="enable">
[50] Fix | Delete
<?php endif; ?>
[51] Fix | Delete
<span class="sui-loading-text"><?php esc_html_e( 'Get started', 'wp-smushit' ); ?></span>
[52] Fix | Delete
<i class="sui-icon-loader sui-loading" aria-hidden="true"></i>
[53] Fix | Delete
</button>
[54] Fix | Delete
</div>
[55] Fix | Delete
</div>
[56] Fix | Delete
[57] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function