: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Summary meta box on dashboard page.
* @var string $human_bytes
* @var bool $resize_enabled
* @var int $resize_savings
* @var string|int $stats_percent
* @var int $total_optimized
* @var string $percent_grade
* @var int|float $percent_metric
* @var int $percent_optimized
* @var Smush\App\Abstract_Page $this Page.
if ( ! defined( 'WPINC' ) ) {
'percent_grade' => $percent_grade,
'percent_optimized' => $percent_optimized,
'percent_metric' => $percent_metric,
'human_bytes' => $human_bytes,
'total_optimized' => $total_optimized,
'stats_percent' => $stats_percent,
'resize_count' => $resize_count,
<div class="sui-summary-segment">
<ul class="sui-list smush-stats-list">
* Allows to output Directory Smush stats
do_action( 'stats_ui_after_resize_savings' );