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.../app/views
File: meta-box.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Meta box layout.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WP_Smush
[4] Fix | Delete
*
[5] Fix | Delete
* @var Abstract_Page $this
[6] Fix | Delete
*
[7] Fix | Delete
* @var array $args Array of arguments.
[8] Fix | Delete
* @var array $callback Callback for meta box content.
[9] Fix | Delete
* @var array $callback_footer Callback for meta box footer.
[10] Fix | Delete
* @var array $callback_header Callback for meta box header.
[11] Fix | Delete
* @var string $id Meta box DOM ID.
[12] Fix | Delete
* @var string $orig_id Meta box code ID.
[13] Fix | Delete
* @var string $title Meta box title.
[14] Fix | Delete
*/
[15] Fix | Delete
[16] Fix | Delete
use Smush\App\Abstract_Page;
[17] Fix | Delete
[18] Fix | Delete
if ( ! defined( 'WPINC' ) ) {
[19] Fix | Delete
die;
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
?>
[23] Fix | Delete
[24] Fix | Delete
<div id="smush-box-<?php echo esc_attr( $id ); ?>" class="sui-<?php echo esc_attr( $id ); ?> <?php echo esc_attr( $args['box_class'] ); ?>">
[25] Fix | Delete
<?php if ( is_callable( $callback_header ) ) : ?>
[26] Fix | Delete
<div class="<?php echo esc_attr( $args['box_header_class'] ); ?>">
[27] Fix | Delete
<?php call_user_func( $callback_header ); ?>
[28] Fix | Delete
</div>
[29] Fix | Delete
<?php elseif ( $this->view_exists( $orig_id . '/meta-box-header' ) ) : ?>
[30] Fix | Delete
<div class="<?php echo esc_attr( $args['box_header_class'] ); ?>">
[31] Fix | Delete
<?php $this->view( $orig_id . '/meta-box-header', compact( 'title' ) ); ?>
[32] Fix | Delete
</div>
[33] Fix | Delete
<?php elseif ( $title ) : ?>
[34] Fix | Delete
<div class="<?php echo esc_attr( $args['box_header_class'] ); ?>">
[35] Fix | Delete
<h3 class="sui-box-title"><?php echo esc_html( $title ); ?></h3>
[36] Fix | Delete
</div>
[37] Fix | Delete
<?php endif; ?>
[38] Fix | Delete
[39] Fix | Delete
<?php if ( $args['box_content_class'] ) : ?>
[40] Fix | Delete
<div class="<?php echo esc_attr( $args['box_content_class'] ); ?>">
[41] Fix | Delete
<?php if ( is_callable( $callback ) ) : ?>
[42] Fix | Delete
<?php call_user_func( $callback ); ?>
[43] Fix | Delete
<?php else : ?>
[44] Fix | Delete
<?php $this->view( $orig_id . '-meta-box' ); ?>
[45] Fix | Delete
<?php endif; ?>
[46] Fix | Delete
</div>
[47] Fix | Delete
<?php elseif ( is_callable( $callback ) ) : ?>
[48] Fix | Delete
<?php call_user_func( $callback ); ?>
[49] Fix | Delete
<?php else : ?>
[50] Fix | Delete
<?php $this->view( $orig_id . '-meta-box' ); ?>
[51] Fix | Delete
<?php endif; ?>
[52] Fix | Delete
[53] Fix | Delete
<?php if ( is_callable( $callback_footer ) ) : ?>
[54] Fix | Delete
<div class="<?php echo esc_attr( $args['box_footer_class'] ); ?>">
[55] Fix | Delete
<?php call_user_func( $callback_footer ); ?>
[56] Fix | Delete
</div>
[57] Fix | Delete
<?php elseif ( $this->view_exists( $orig_id . '/meta-box-footer' ) ) : ?>
[58] Fix | Delete
<div class="<?php echo esc_attr( $args['box_footer_class'] ); ?>">
[59] Fix | Delete
<?php $this->view( $orig_id . '/meta-box-footer' ); ?>
[60] Fix | Delete
</div>
[61] Fix | Delete
<?php endif; ?>
[62] Fix | Delete
[63] Fix | Delete
<?php if ( ! WP_Smush::is_pro() && $this->view_exists( $orig_id . '/meta-box-upsell' ) ) : ?>
[64] Fix | Delete
<?php $this->view( $orig_id . '/meta-box-upsell' ); ?>
[65] Fix | Delete
<?php endif; ?>
[66] Fix | Delete
[67] Fix | Delete
<?php // Allows you to output any content within the stats box at the end. ?>
[68] Fix | Delete
<?php do_action( 'wp_smush_after_stats' ); ?>
[69] Fix | Delete
</div><!-- end box-<?php echo esc_attr( $id ); ?> -->
[70] Fix | Delete
[71] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function