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/wpforms-.../lite/template.../educatio.../admin
File: did-you-know.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Admin/DidYouKnow Education template for Lite.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 1.7.4
[4] Fix | Delete
*
[5] Fix | Delete
* @var string $slug DYK message slug.
[6] Fix | Delete
* @var int $cols Table columns count.
[7] Fix | Delete
* @var string $title Message title.
[8] Fix | Delete
* @var string $desc Message body.
[9] Fix | Delete
* @var string $more_title Learn More button title.
[10] Fix | Delete
* @var string $more_link Learn More button URL.
[11] Fix | Delete
* @var string $more_class Learn More button class.
[12] Fix | Delete
* @var string $icon Message icon.
[13] Fix | Delete
* @var string $cont_class Container class.
[14] Fix | Delete
* @var string $enabled_title Message title in enabled mode.
[15] Fix | Delete
* @var string $enabled_desc Message body in enabled mode.
[16] Fix | Delete
* @var string $enabled_more_title Learn More button title in enabled mode.
[17] Fix | Delete
* @var string $enabled_more_link Learn More button URL in enabled mode.
[18] Fix | Delete
* @var string $enabled_more_class Learn More button class in enabled mode.
[19] Fix | Delete
* @var string $enabled_cont_class Container class in enabled mode.
[20] Fix | Delete
*/
[21] Fix | Delete
[22] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[23] Fix | Delete
exit;
[24] Fix | Delete
}
[25] Fix | Delete
[26] Fix | Delete
$default_icon = '<svg viewBox="0 0 352 512"><path d="M176 0C73.05 0-.12 83.54 0 176.24c.06 44.28 16.5 84.67 43.56 115.54C69.21 321.03 93.85 368.68 96 384l.06 75.18c0 3.15.94 6.22 2.68 8.84l24.51 36.84c2.97 4.46 7.97 7.14 13.32 7.14h78.85c5.36 0 10.36-2.68 13.32-7.14l24.51-36.84c1.74-2.62 2.67-5.7 2.68-8.84L256 384c2.26-15.72 26.99-63.19 52.44-92.22C335.55 260.85 352 220.37 352 176 352 78.8 273.2 0 176 0zm47.94 454.31L206.85 480h-61.71l-17.09-25.69-.01-6.31h95.9v6.31zm.04-38.31h-95.97l-.07-32h96.08l-.04 32zm60.4-145.32c-13.99 15.96-36.33 48.1-50.58 81.31H118.21c-14.26-33.22-36.59-65.35-50.58-81.31C44.5 244.3 32.13 210.85 32.05 176 31.87 99.01 92.43 32 176 32c79.4 0 144 64.6 144 144 0 34.85-12.65 68.48-35.62 94.68zM176 64c-61.75 0-112 50.25-112 112 0 8.84 7.16 16 16 16s16-7.16 16-16c0-44.11 35.88-80 80-80 8.84 0 16-7.16 16-16s-7.16-16-16-16z"/></svg>';
[27] Fix | Delete
[28] Fix | Delete
?>
[29] Fix | Delete
<tr class="wpforms-dyk wpforms-dismiss-container wpforms-education-lite-connect-wrapper wpforms-dyk-<?php echo esc_attr( $slug ); ?>">
[30] Fix | Delete
<td colspan="<?php echo esc_attr( $cols ); ?>" class="<?php echo esc_attr( $cont_class ); ?>">
[31] Fix | Delete
<div class="wpforms-dyk-fbox wpforms-dismiss-out">
[32] Fix | Delete
<div class="wpforms-dyk-icon"><?php echo empty( $icon ) ? $default_icon : $icon; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></div>
[33] Fix | Delete
<div class="wpforms-dyk-message"><strong><?php echo esc_html( $title ); ?></strong><br>
[34] Fix | Delete
<?php echo esc_html( $desc ); ?>
[35] Fix | Delete
</div>
[36] Fix | Delete
<div class="wpforms-dyk-buttons">
[37] Fix | Delete
<?php if ( ! empty( $more_link ) ) : ?>
[38] Fix | Delete
<a href="<?php echo esc_url( $more_link ); ?>" class="button button-primary button-learn-more <?php echo esc_attr( $more_class ); ?>"><?php echo esc_html( $more_title ); ?></a>
[39] Fix | Delete
<?php endif; ?>
[40] Fix | Delete
<button type="button" class="wpforms-dismiss-button" title="<?php esc_attr_e( 'Dismiss this message.', 'wpforms-lite' ); ?>" data-section="admin-did-you-know-overview"></button>
[41] Fix | Delete
</div>
[42] Fix | Delete
</div>
[43] Fix | Delete
</td>
[44] Fix | Delete
<td colspan="<?php echo esc_attr( $cols ); ?>" class="<?php echo esc_attr( $enabled_cont_class ); ?>">
[45] Fix | Delete
<div class="wpforms-dyk-fbox wpforms-dismiss-out">
[46] Fix | Delete
<div class="wpforms-dyk-icon"><?php echo empty( $icon ) ? $default_icon : $icon; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></div>
[47] Fix | Delete
<div class="wpforms-dyk-message"><strong><?php echo esc_html( $enabled_title ); ?></strong><br>
[48] Fix | Delete
<?php echo esc_html( $enabled_desc ); ?>
[49] Fix | Delete
</div>
[50] Fix | Delete
<div class="wpforms-dyk-buttons">
[51] Fix | Delete
<?php if ( ! empty( $enabled_more_link ) ) : ?>
[52] Fix | Delete
<a href="<?php echo esc_url( $enabled_more_link ); ?>" class="button button-primary button-learn-more <?php echo esc_attr( $enabled_more_class ); ?>"><?php echo esc_html( $enabled_more_title ); ?></a>
[53] Fix | Delete
<?php endif; ?>
[54] Fix | Delete
<button type="button" class="wpforms-dismiss-button" title="<?php esc_attr_e( 'Dismiss this message.', 'wpforms-lite' ); ?>" data-section="admin-did-you-know-overview"></button>
[55] Fix | Delete
</div>
[56] Fix | Delete
</div>
[57] Fix | Delete
</td>
[58] Fix | Delete
</tr>
[59] Fix | Delete
[60] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function