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

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/wp-conte.../plugins/wordfenc.../views/blocking
File: blocking-create.php
WFAD.loadingBlocks = false;
[500] Fix | Delete
if (res.success) {
[501] Fix | Delete
$(window).trigger('wordfenceRefreshBlockList', [res, false]);
[502] Fix | Delete
[503] Fix | Delete
$('.wf-blocks-table > tbody > tr').removeClass('wf-editing');
[504] Fix | Delete
$('#wf-block-parameters-title').text($('#wf-block-parameters-title').data('newTitle'));
[505] Fix | Delete
$('#wf-block-type > li').removeClass('wf-active');
[506] Fix | Delete
$('.wf-block-add-common, .wf-block-add-ip, .wf-block-add-country, .wf-block-add-pattern').hide();
[507] Fix | Delete
$('#wf-block-duration, #wf-block-reason, #wf-block-ip, #wf-block-ip-range, #wf-block-hostname, #wf-block-user-agent, #wf-block-referrer').val('');
[508] Fix | Delete
}
[509] Fix | Delete
else {
[510] Fix | Delete
WFAD.colorboxModalHTML((WFAD.isSmallScreen ? '300px' : '400px'), <?php echo json_encode(esc_html__('Error Saving Block', 'wordfence')) ?>, res.error);
[511] Fix | Delete
}
[512] Fix | Delete
});
[513] Fix | Delete
});
[514] Fix | Delete
});
[515] Fix | Delete
})(jQuery);
[516] Fix | Delete
</script>
[517] Fix | Delete
</div></li>
[518] Fix | Delete
</ul>
[519] Fix | Delete
<?php
[520] Fix | Delete
echo wfView::create('blocking/country-modal')->render();
[521] Fix | Delete
?>
[522] Fix | Delete
<script type="text/x-jquery-template" id="wfTmpl_blockUnitedStatesPrompt">
[523] Fix | Delete
<?php
[524] Fix | Delete
echo wfView::create('common/modal-prompt', array(
[525] Fix | Delete
'title' => __('U.S. Blocked', 'wordfence'),
[526] Fix | Delete
'messageHTML' => esc_html__('For most sites, we recommend allowing access from the United States, where Google and other benign crawlers are located. Some well-known crawlers also have locations in Europe, so be careful when blocking other countries, especially if you have not seen significant attacks from them.', 'wordfence') . ' <a href="' . wfSupportController::esc_supportURL(wfSupportController::ITEM_FIREWALL_BLOCKING_FULL_SITE). '" target="_blank" rel="noopener noreferrer">' . esc_html__('Learn More', 'wordfence') . '</a>',
[527] Fix | Delete
'primaryButton' => array('id' => 'wf-us-blocking-prompt-cancel', 'label' => __('Cancel', 'wordfence'), 'link' => '#'),
[528] Fix | Delete
'secondaryButtons' => array(array('id' => 'wf-us-blocking-prompt-continue', 'label' => __('Continue', 'wordfence'), 'link' => '#')),
[529] Fix | Delete
))->render();
[530] Fix | Delete
?>
[531] Fix | Delete
</script>
[532] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function