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/wp-conte.../plugins/wp-smush.../core/integrat...
File: class-amp-integration.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Smush\Core\Integrations;
[2] Fix | Delete
[3] Fix | Delete
use Smush\Core\Controller;
[4] Fix | Delete
[5] Fix | Delete
class AMP_Integration extends Controller {
[6] Fix | Delete
public function __construct() {
[7] Fix | Delete
$this->register_action( 'wp_smush_should_skip_lazy_load', array( $this, 'skip_for_amp_pages' ) );
[8] Fix | Delete
}
[9] Fix | Delete
[10] Fix | Delete
public function skip_for_amp_pages( $skip ) {
[11] Fix | Delete
return $this->is_amp_endpoint() ? true : $skip;
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
public function is_amp_endpoint() {
[15] Fix | Delete
return function_exists( 'is_amp_endpoint' ) && is_amp_endpoint();
[16] Fix | Delete
}
[17] Fix | Delete
}
[18] Fix | Delete
[19] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function