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/wordfenc.../views/gdpr
File: banner.php
<?php
[0] Fix | Delete
if (!defined('WORDFENCE_VERSION')) { exit; }
[1] Fix | Delete
/**
[2] Fix | Delete
* Presents the persistent banner.
[3] Fix | Delete
*/
[4] Fix | Delete
?>
[5] Fix | Delete
<ul id="wf-gdpr-banner">
[6] Fix | Delete
<li><?php esc_html_e('Wordfence\'s terms of service and privacy policy have changed', 'wordfence'); ?></li>
[7] Fix | Delete
<li><a href="#" class="wf-btn wf-btn-default" id="wf-gdpr-review" role="button"><?php esc_html_e('Review', 'wordfence'); ?></a></li>
[8] Fix | Delete
</ul>
[9] Fix | Delete
[10] Fix | Delete
<script type="application/javascript">
[11] Fix | Delete
(function($) {
[12] Fix | Delete
$(function() {
[13] Fix | Delete
$('#wf-gdpr-review').on('click', function(e) {
[14] Fix | Delete
e.preventDefault();
[15] Fix | Delete
e.stopPropagation();
[16] Fix | Delete
[17] Fix | Delete
var prompt = $('#wfTmpl_touppChangedModal').tmpl();
[18] Fix | Delete
var promptHTML = $("<div />").append(prompt).html();
[19] Fix | Delete
WFAD.colorboxHTML(WFAD.isSmallScreen ? '300px' : '800px', promptHTML, {overlayClose: false, closeButton: false, className: 'wf-modal', onComplete: function() {
[20] Fix | Delete
$('#wf-toupp-changed-cancel').on('click', function(e) {
[21] Fix | Delete
e.preventDefault();
[22] Fix | Delete
e.stopPropagation();
[23] Fix | Delete
[24] Fix | Delete
WFAD.colorboxClose();
[25] Fix | Delete
});
[26] Fix | Delete
[27] Fix | Delete
$('#wf-toupp-changed-agree').on('click', function(e) {
[28] Fix | Delete
e.preventDefault();
[29] Fix | Delete
e.stopPropagation();
[30] Fix | Delete
[31] Fix | Delete
$('#wf-gdpr-banner').slideUp();
[32] Fix | Delete
$('.wf-toupp-required').removeClass('wf-toupp-required');
[33] Fix | Delete
WFAD.ajax('wordfence_recordTOUPP', {}, function(res) {
[34] Fix | Delete
//Do nothing
[35] Fix | Delete
});
[36] Fix | Delete
[37] Fix | Delete
WFAD.colorboxClose();
[38] Fix | Delete
});
[39] Fix | Delete
}});
[40] Fix | Delete
});
[41] Fix | Delete
});
[42] Fix | Delete
})(jQuery);
[43] Fix | Delete
</script>
[44] Fix | Delete
[45] Fix | Delete
<script type="text/x-jquery-template" id="wfTmpl_touppChangedModal">
[46] Fix | Delete
<div class="wf-modal" id="wf-toupp-changed-modal">
[47] Fix | Delete
<div class="wf-modal-content">
[48] Fix | Delete
<p><?php echo wp_kses(__('We have updated our policies. To continue using Wordfence, you will need to read and agree to the <a href="https://www.wordfence.com/license-terms-and-conditions/" target="_blank" rel="noopener noreferrer">Wordfence License Terms and Conditions<span class="screen-reader-text"> (opens in new tab)</span></a>, the <a href="https://www.wordfence.com/services-subscription-agreement" rel="noopener noreferrer" target="_blank">Services Subscription Agreement<span class="screen-reader-text"> (opens in new tab)</span></a>, and <a href="https://www.wordfence.com/terms-of-service/" target="_blank" rel="noopener noreferrer">Terms of Service<span class="screen-reader-text"> (opens in new tab)</span></a>, and read and acknowledge the <a href="https://www.wordfence.com/privacy-policy/" target="_blank" rel="noopener noreferrer">Wordfence Privacy Policy<span class="screen-reader-text"> (opens in new tab)</span></a>.', 'wordfence'), array('a'=>array('href'=>array(), 'target'=>array(), 'rel'=>array()), 'span'=>array('class'=>array()))); ?></p>
[49] Fix | Delete
<?php if (wfConfig::get('isPaid')): ?><p><?php echo wp_kses(__('You can log in to <a href="https://www.wordfence.com/" target="_blank" rel="noopener noreferrer">wordfence.com<span class="screen-reader-text"> (opens in new tab)</span></a> to accept the updated terms and privacy policy for all of your license keys at once.', 'wordfence'), array('a'=>array('href'=>array(), 'target'=>array(), 'rel'=>array()), 'span'=>array('class'=>array()))); ?></p><?php endif; ?>
[50] Fix | Delete
</div>
[51] Fix | Delete
<div class="wf-modal-footer">
[52] Fix | Delete
<ul class="wf-flex-horizontal wf-full-width wf-flex-align-right">
[53] Fix | Delete
<li class="wf-padding-add-right"><a href="https://www.wordfence.com/help/general-data-protection-regulation/#agreement-to-new-terms-and-privacy-policies" class="wf-btn wf-btn-default" target="_blank" rel="noopener noreferrer"><?php esc_html_e('Learn More', 'wordfence'); ?><span class="screen-reader-text"> (<?php esc_html_e('opens in new tab', 'wordfence') ?>)</span></a></li>
[54] Fix | Delete
<li><a href="#" class="wf-btn wf-btn-primary" id="wf-toupp-changed-agree" role="button"><?php esc_html_e('Agree', 'wordfence'); ?></a></li>
[55] Fix | Delete
</ul>
[56] Fix | Delete
</div>
[57] Fix | Delete
</div>
[58] Fix | Delete
</script>
[59] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function