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/email
File: bulk-smush.php
<?php //phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped ?>
[0] Fix | Delete
<div class="summary-compression" style="max-width:600px;margin:0px auto;width:100%;">
[1] Fix | Delete
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="margin:0px auto;padding:0 0;max-width:600px;">
[2] Fix | Delete
<tbody>
[3] Fix | Delete
<tr>
[4] Fix | Delete
<td colspan="3" style="margin:0px auto;padding:0 0;max-width:600px;">
[5] Fix | Delete
<div style="padding:0 25px;margin:0px auto;max-width:600px;">
[6] Fix | Delete
<h2 style="color:#333;font-family:inherit;font-size: 25px;line-height:30px;color:inherit;margin:0px auto;max-width: 600px;padding-top:10px;padding-bottom: 35px">
[7] Fix | Delete
<?php
[8] Fix | Delete
$clean_site_url = preg_replace( '#http(s)?://(www.)?#', '', $site_url );
[9] Fix | Delete
printf(
[10] Fix | Delete
esc_html( $mail_title ),
[11] Fix | Delete
'<a href="' . esc_url( $site_url ) . '" style="text-decoration: none">' . esc_html( $clean_site_url ) . '</a>'
[12] Fix | Delete
);
[13] Fix | Delete
?>
[14] Fix | Delete
</h2>
[15] Fix | Delete
<p style="color: #1A1A1A; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-weight: normal; line-height: 24px; margin:0px auto;max-width: 600px; padding: 0 0 24px; text-align: left; word-wrap: normal;">
[16] Fix | Delete
<?php
[17] Fix | Delete
printf(
[18] Fix | Delete
/* translators: %s - Name */
[19] Fix | Delete
esc_html__( 'Hi %s,', 'wp-smushit' ),
[20] Fix | Delete
esc_html( $name )
[21] Fix | Delete
);
[22] Fix | Delete
?>
[23] Fix | Delete
</p>
[24] Fix | Delete
<p style="color: #1A1A1A; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-weight: normal; line-height: 24px; margin:0px auto;max-width: 600px; padding: 0 0 32px; text-align: left; word-wrap: normal;letter-spacing: 0;">
[25] Fix | Delete
<span><?php echo esc_html( $mail_desc ); ?></span>
[26] Fix | Delete
</p>
[27] Fix | Delete
</div>
[28] Fix | Delete
</td>
[29] Fix | Delete
</tr>
[30] Fix | Delete
<tr>
[31] Fix | Delete
<td style="margin:0px auto;max-width:600px;padding:3px 25px;border-top:1px solid #F8F8F8;border-bottom:1px solid #F8F8F8" class="smush-summary-row">
[32] Fix | Delete
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="color:#1A1A1A;font-family: Roboto, Arial, sans-serif; font-size: 16px; margin: 0 auto;max-width:600px">
[33] Fix | Delete
<tbody>
[34] Fix | Delete
<tr>
[35] Fix | Delete
<td align="left" style="width:30px;vertical-align:top;text-align:left; padding:10px 0 0 0;">
[36] Fix | Delete
<img style="max-width:100%;color:#666666;width:auto;height:16px;" src="<?php echo WP_SMUSH_URL . 'app/assets/images/email/info.png'; ?>" alt="ℹ" />
[37] Fix | Delete
</td>
[38] Fix | Delete
<td align="left" style="vertical-align:top;padding:10px 0;text-align:left;line-height: 25px;">
[39] Fix | Delete
<strong style="font-family: Roboto, Arial, sans-serif;font-size: 16px;font-weight:500;letter-spacing:-0.25px;color:#1A1A1A;">
[40] Fix | Delete
<?php echo esc_html( $total_title ); ?>
[41] Fix | Delete
</strong>
[42] Fix | Delete
<span style="line-height:18px;padding-top:3px;display:block;font-family: Roboto, Arial, sans-serif;font-size: 13px;font-weight:400;letter-spacing:-0.307692px;color:#1A1A1A;"><?php echo esc_html( $total_desc ); ?></span>
[43] Fix | Delete
</td>
[44] Fix | Delete
<td align="right" width="60" style="vertical-align:top;padding:10px 0;text-align:right;white-space:nowrap;font-family: Roboto, Arial, sans-serif;font-size: 16px;font-weight:800;color:#1A1A1A;">
[45] Fix | Delete
<?php echo number_format( $total_items ); ?>
[46] Fix | Delete
</td>
[47] Fix | Delete
</tr>
[48] Fix | Delete
</tbody>
[49] Fix | Delete
</table>
[50] Fix | Delete
</td>
[51] Fix | Delete
</tr>
[52] Fix | Delete
<tr>
[53] Fix | Delete
<td style="margin:0px auto;max-width:600px;padding:3px 25px;border-top:1px solid #F8F8F8;border-bottom:1px solid #F8F8F8" class="smush-summary-row">
[54] Fix | Delete
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="color:#1A1A1A;font-family: Roboto, Arial, sans-serif; font-size: 16px; margin: 0 auto;max-width:600px;">
[55] Fix | Delete
<tbody>
[56] Fix | Delete
<tr>
[57] Fix | Delete
<td align="left" style="width:30px;vertical-align:top;text-align:left;padding:14px 0 0 0;">
[58] Fix | Delete
<img style="max-width:100%;color:#11bf9c;width:auto;height:16px;" src="<?php echo WP_SMUSH_URL . 'app/assets/images/email/success.png'; ?>" alt="✔" />
[59] Fix | Delete
</td>
[60] Fix | Delete
<td align="left" style="vertical-align:top;padding:14px 0;text-align:left;line-height: 25px;">
[61] Fix | Delete
<strong style="font-family: Roboto, Arial, sans-serif;font-size: 16px;font-weight:500;letter-spacing:-0.25px;color:#1A1A1A;">
[62] Fix | Delete
<?php echo esc_html( $smushed_title ); ?>
[63] Fix | Delete
</strong>
[64] Fix | Delete
<span style="line-height:18px;padding-top:3px;display:block;font-family: Roboto, Arial, sans-serif;font-size: 13px;font-weight:400;letter-spacing:-0.307692px;color:#1A1A1A;"><?php echo esc_html( $smushed_desc ); ?></span>
[65] Fix | Delete
</td>
[66] Fix | Delete
<td align="right" width="60" style="vertical-align:top;padding:14px 0;text-align:right;white-space:nowrap;font-family: Roboto, Arial, sans-serif;font-size: 16px;font-weight:800;color:#1A1A1A;">
[67] Fix | Delete
<?php echo number_format( $smushed_items ); ?>
[68] Fix | Delete
</td>
[69] Fix | Delete
</tr>
[70] Fix | Delete
</tbody>
[71] Fix | Delete
</table>
[72] Fix | Delete
</td>
[73] Fix | Delete
</tr>
[74] Fix | Delete
<tr>
[75] Fix | Delete
<td style="margin:0px auto;max-width:600px;padding:3px 25px;border-top:1px solid #F8F8F8;border-bottom:1px solid #F8F8F8" class="smush-summary-row">
[76] Fix | Delete
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="color:#1A1A1A;font-family: Roboto, Arial, sans-serif; font-size: 16px; margin: 0 auto;max-width:600px">
[77] Fix | Delete
<tbody>
[78] Fix | Delete
<tr>
[79] Fix | Delete
<td align="left" style="width:30px;vertical-align:top;text-align:left; padding:10px 0 0 0;">
[80] Fix | Delete
<img style="max-width:100%;color:#fb6e07;width:auto;height:16px;" src="<?php echo WP_SMUSH_URL . 'app/assets/images/email/warning.png'; ?>" alt="⚠" />
[81] Fix | Delete
</td>
[82] Fix | Delete
<td align="left" style="vertical-align:top;padding:10px 0;text-align:left;line-height: 25px;">
[83] Fix | Delete
<strong style="font-family: Roboto, Arial, sans-serif;font-size: 16px;font-weight:500;letter-spacing:-0.25px;color:#1A1A1A;">
[84] Fix | Delete
<?php echo esc_html( $failed_title ); ?>
[85] Fix | Delete
</strong>
[86] Fix | Delete
<span style="line-height:18px;padding-top:3px;display:block;font-family: Roboto, Arial, sans-serif;font-size: 13px;font-weight:400;letter-spacing:-0.307692px;color:#1A1A1A;">
[87] Fix | Delete
<?php echo esc_html( $failed_desc ); ?>
[88] Fix | Delete
</span>
[89] Fix | Delete
</td>
[90] Fix | Delete
<td align="right" width="60" style="vertical-align:top;padding:10px 0;text-align:right;white-space:nowrap;font-family: Roboto, Arial, sans-serif;font-size: 16px;font-weight:800;color:#1A1A1A;">
[91] Fix | Delete
<?php echo number_format( $failed_items ); ?>
[92] Fix | Delete
</td>
[93] Fix | Delete
</tr>
[94] Fix | Delete
</tbody>
[95] Fix | Delete
</table>
[96] Fix | Delete
</td>
[97] Fix | Delete
</tr>
[98] Fix | Delete
</tbody>
[99] Fix | Delete
</table>
[100] Fix | Delete
<p style="margin:27px 0 11px;padding: 0;text-align: center">
[101] Fix | Delete
<a class="button"
[102] Fix | Delete
style="background:#0059FF;border-radius: 6px;font-family: Roboto, Arial, sans-serif;font-size: 13px;width: 141px;height:40px;padding: 0!important;font-weight: 500;line-height: 40px;text-align: center;margin-bottom: 0;display:inline-block!important;color:#fff!important;text-decoration:none!important;"
[103] Fix | Delete
href="<?php echo esc_url( $redirect_url ); ?>"><?php esc_html_e( 'View Full Report', 'wp-smushit' ); ?></a>
[104] Fix | Delete
</p>
[105] Fix | Delete
</div>
[106] Fix | Delete
<?php //phpcs:enable ?>
[107] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function