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.../_src/js/modules
File: admin-common.js
jQuery(function ($) {
[0] Fix | Delete
'use strict';
[1] Fix | Delete
[2] Fix | Delete
/**
[3] Fix | Delete
* Handle the Smush Stats link click
[4] Fix | Delete
*/
[5] Fix | Delete
$('body').on('click', 'a.smush-stats-details', function (e) {
[6] Fix | Delete
//If disabled
[7] Fix | Delete
if ($(this).prop('disabled')) {
[8] Fix | Delete
return false;
[9] Fix | Delete
}
[10] Fix | Delete
[11] Fix | Delete
// prevent the default action
[12] Fix | Delete
e.preventDefault();
[13] Fix | Delete
//Replace the `+` with a `-`
[14] Fix | Delete
const slide_symbol = $(this).find('.stats-toggle');
[15] Fix | Delete
$(this).parents().eq(1).find('.smush-stats-wrapper').slideToggle();
[16] Fix | Delete
slide_symbol.text(slide_symbol.text() == '+' ? '-' : '+');
[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