: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
if (!defined('WORDFENCE_VERSION')) exit;
* Displays a message that application passwords are disabled
* @var bool $includeLink Whether or not to display a link to the options page to enable application passwords
$isAdmin = isset($isAdmin) && $isAdmin;
<h2><?php esc_html_e('Application Passwords', 'wordfence'); ?></h2>
<table class="form-table" role="presentation">
<th><?php esc_html_e('Disabled', 'wordfence') ?></th>
<?php esc_html_e('Application passwords have been disabled by Wordfence.', 'wordfence') ?>
<?php esc_html_e('The site admin can change this option.', 'wordfence') ?>
$optionsUrl = 'admin.php?page=WordfenceWAF&subpage=waf_options#wf-option-loginSec-disableApplicationPasswords-label';
<p><a href="<?php echo esc_attr(is_multisite() ? network_admin_url($optionsUrl) : admin_url($optionsUrl)) ?>" class="button"><?php esc_html_e('Edit Wordfence Options', 'wordfence') ?></a></p>