: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Handle the Smush Stats link click
$('body').on('click', 'a.smush-stats-details', function (e) {
if ($(this).prop('disabled')) {
// prevent the default action
//Replace the `+` with a `-`
const slide_symbol = $(this).find('.stats-toggle');
$(this).parents().eq(1).find('.smush-stats-wrapper').slideToggle();
slide_symbol.text(slide_symbol.text() == '+' ? '-' : '+');