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/dashboar.../bulk
File: meta-box.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Bulk compress dashboard meta box.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 3.8.6
[4] Fix | Delete
* @package WP_Smush
[5] Fix | Delete
*
[6] Fix | Delete
* @var int $uncompressed Number of uncompressed attachments.
[7] Fix | Delete
* @var string $upsell_url Upsell URL.
[8] Fix | Delete
* @var bool $background_processing_enabled Whether background processing is enabled or not.
[9] Fix | Delete
* @var bool $background_in_processing Whether BO is in processing or not.
[10] Fix | Delete
* @var bool $bulk_background_process_dead Whether Bulk Smush background process is dead or not.
[11] Fix | Delete
* @var bool $scan_background_process_dead Whether Scan background process is dead or not.
[12] Fix | Delete
* @var int $total_count Total count.
[13] Fix | Delete
*/
[14] Fix | Delete
[15] Fix | Delete
if ( ! defined( 'WPINC' ) ) {
[16] Fix | Delete
die;
[17] Fix | Delete
}
[18] Fix | Delete
[19] Fix | Delete
if ( $background_processing_enabled ) {
[20] Fix | Delete
$msg = __( 'Bulk smush detects images that can be optimized and allows you to compress them in bulk in the background without any quality loss.', 'wp-smushit' );
[21] Fix | Delete
} else {
[22] Fix | Delete
$msg = __( 'Bulk smush detects images that can be optimized and allows you to compress them in bulk.', 'wp-smushit' );
[23] Fix | Delete
}
[24] Fix | Delete
?>
[25] Fix | Delete
<p><?php echo esc_html( $msg ); ?></p>
[26] Fix | Delete
<?php
[27] Fix | Delete
if ( $background_in_processing ) {
[28] Fix | Delete
$this->view( 'background-in-processing', array(), 'views/dashboard/bulk' );
[29] Fix | Delete
} elseif ( $scan_background_process_dead ) {
[30] Fix | Delete
$this->view( 'scan-background-process-dead', array(), 'views/dashboard/bulk' );
[31] Fix | Delete
} elseif ( $bulk_background_process_dead ) {
[32] Fix | Delete
$this->view( 'bulk-background-process-dead', array(), 'views/dashboard/bulk' );
[33] Fix | Delete
} elseif ( 0 === $total_count ) {
[34] Fix | Delete
$this->view( 'media-lib-empty', array(), 'views/dashboard/bulk' );
[35] Fix | Delete
} elseif ( 0 === $uncompressed ) {
[36] Fix | Delete
$this->view( 'all-images-smushed-notice', array( 'all_done' => true ), 'common' );
[37] Fix | Delete
} else {
[38] Fix | Delete
$this->view( 'exists-uncompressed', array( 'uncompressed' => $uncompressed, 'upsell_url' => $upsell_url ), 'views/dashboard/bulk' );
[39] Fix | Delete
}
[40] Fix | Delete
[41] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function