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.../modules/login-se.../views/manage
File: code.php
<?php
[0] Fix | Delete
if (!defined('WORDFENCE_LS_VERSION')) { exit; }
[1] Fix | Delete
/**
[2] Fix | Delete
* @var \WordfenceLS\Model_2faInitializationData $initializationData The initialization data for setting up 2FA for a specific user. Required.
[3] Fix | Delete
*/
[4] Fix | Delete
?>
[5] Fix | Delete
<div class="wfls-block wfls-always-active wfls-flex-item-full-width">
[6] Fix | Delete
<div class="wfls-block-header wfls-block-header-border-bottom">
[7] Fix | Delete
<div class="wfls-block-header-content">
[8] Fix | Delete
<div class="wfls-block-title">
[9] Fix | Delete
<strong><?php esc_html_e('1. Scan Code or Enter Key', 'wordfence'); ?></strong>
[10] Fix | Delete
</div>
[11] Fix | Delete
</div>
[12] Fix | Delete
</div>
[13] Fix | Delete
<div class="wfls-block-content wfls-padding-add-bottom">
[14] Fix | Delete
<p><?php esc_html_e('Scan the code below with your authenticator app to add this account. Some authenticator apps also allow you to type in the text version instead.', 'wordfence') ?></p>
[15] Fix | Delete
<div id="wfls-qr-code"></div>
[16] Fix | Delete
<p class="wfls-center wfls-no-bottom"><input id="wfls-qr-code-text" class="wfls-center" type="text" value="<?php echo esc_attr($initializationData->get_base32_secret()); ?>" onclick="this.select();" size="32" readonly></p>
[17] Fix | Delete
</div>
[18] Fix | Delete
</div>
[19] Fix | Delete
<script type="application/javascript">
[20] Fix | Delete
(function($) {
[21] Fix | Delete
$(function() {
[22] Fix | Delete
var narrowPreviously = null;
[23] Fix | Delete
function renderQrCode() {
[24] Fix | Delete
var narrow = WFLS.screenSize(500);
[25] Fix | Delete
if (narrow !== narrowPreviously) {
[26] Fix | Delete
$('#wfls-qr-code').empty().qrcode({text: '<?php echo \WordfenceLS\Text\Model_JavaScript::esc_js($initializationData->get_otp_url()); ?>', width: (narrow ? 175 : 256), height: (narrow ? 175 : 256)});
[27] Fix | Delete
$('#wfls-qr-code-text').css('font-family', narrow ? '' : 'monospace');
[28] Fix | Delete
}
[29] Fix | Delete
narrowPreviously = narrow;
[30] Fix | Delete
}
[31] Fix | Delete
$(window).on('resize', renderQrCode);
[32] Fix | Delete
renderQrCode();
[33] Fix | Delete
});
[34] Fix | Delete
})(jQuery);
[35] Fix | Delete
</script>
[36] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function