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/page
File: role.php
<?php
[0] Fix | Delete
if (!defined('WORDFENCE_LS_VERSION')) { exit; }
[1] Fix | Delete
?>
[2] Fix | Delete
<?php if (is_multisite()): ?>
[3] Fix | Delete
<p><em>(<?php esc_html_e('This page only shows users and roles on the main site of this network', 'wordfence') ?>)</em></p>
[4] Fix | Delete
<?php endif ?>
[5] Fix | Delete
<div class="wfls-block wfls-always-active wfls-flex-item-full-width wfls-add-bottom">
[6] Fix | Delete
<?php if ($requiredAt === false): ?>
[7] Fix | Delete
<div class="wfls-block-content">
[8] Fix | Delete
<p><?php echo esc_html(sprintf(__('2FA is not required for the %s role', 'wordfence'), $roleTitle)) ?></p>
[9] Fix | Delete
</div>
[10] Fix | Delete
<?php elseif (empty($users)): ?>
[11] Fix | Delete
<div class="wfls-block-content">
[12] Fix | Delete
<p>
[13] Fix | Delete
<?php if ($page == 1): ?>
[14] Fix | Delete
<?php echo esc_html(sprintf(__('No users found in the %s state for the %s role', 'wordfence'), $stateTitle, $roleTitle)) ?>
[15] Fix | Delete
<?php else: ?>
[16] Fix | Delete
<?php echo esc_html(sprintf(__('Page %d is out of range', 'wordfence'), $page)) ?>
[17] Fix | Delete
<?php endif ?>
[18] Fix | Delete
</p>
[19] Fix | Delete
</div>
[20] Fix | Delete
<?php else: ?>
[21] Fix | Delete
<table class="wfls-table wfls-table-striped wfls-table-header-separators wfls-table-expanded wfls-no-bottom">
[22] Fix | Delete
<tr>
[23] Fix | Delete
<th>User</th>
[24] Fix | Delete
<th>Required Date</th>
[25] Fix | Delete
</tr>
[26] Fix | Delete
<?php foreach ($users as $user): ?>
[27] Fix | Delete
<tr>
[28] Fix | Delete
<th scope="row"><a href="<?php echo esc_attr(get_edit_user_link($user->user_id)) ?>#wfls-user-settings"><?php echo esc_html($user->user_login) ?></a></td>
[29] Fix | Delete
<td>
[30] Fix | Delete
<?php if ($user->required_at): ?>
[31] Fix | Delete
<?php echo esc_html(\WordfenceLS\Controller_Time::format_local_time('F j, Y g:i A', $user->required_at)) ?>
[32] Fix | Delete
<?php else: ?>
[33] Fix | Delete
<?php esc_html_e('N/A', 'wordfence'); ?>
[34] Fix | Delete
<?php endif ?>
[35] Fix | Delete
</td>
[36] Fix | Delete
</tr>
[37] Fix | Delete
<?php endforeach ?>
[38] Fix | Delete
<?php if ($page != 1 || !$lastPage): ?>
[39] Fix | Delete
<tr>
[40] Fix | Delete
<td colspan="2" class="wfls-center">
[41] Fix | Delete
<?php if ($page > 1): ?>
[42] Fix | Delete
<a href="<?php echo esc_attr(add_query_arg($pageKey, $page-1) . "#$stateKey") ?>"><span class="dashicons dashicons-arrow-left-alt2"></span></a>
[43] Fix | Delete
<?php endif ?>
[44] Fix | Delete
<strong class="wfls-page-indicator"><?php esc_html_e('Page ', 'wordfence') ?><?php echo (int) $page ?></strong>
[45] Fix | Delete
<?php if (!$lastPage): ?>
[46] Fix | Delete
<a href="<?php echo esc_attr(add_query_arg($pageKey, $page+1) . "#$stateKey") ?>"><span class="dashicons dashicons-arrow-right-alt2"></span></a>
[47] Fix | Delete
<?php endif ?>
[48] Fix | Delete
</td>
[49] Fix | Delete
</tr>
[50] Fix | Delete
<?php endif ?>
[51] Fix | Delete
</table>
[52] Fix | Delete
<?php endif ?>
[53] Fix | Delete
</div>
[54] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function