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/waf
File: waf-modal-wrapper.php
<?php
[0] Fix | Delete
if (!defined('WORDFENCE_VERSION')) { exit; }
[1] Fix | Delete
/**
[2] Fix | Delete
* Presents the content given in a modal wrapper for the WAF install/uninstall flow.
[3] Fix | Delete
*
[4] Fix | Delete
* Expects $title and $html to be defined. $helpHTML, $footerHTML, and $footerButtonTitle may also be defined.
[5] Fix | Delete
*
[6] Fix | Delete
* @var string $title The title for the panel.
[7] Fix | Delete
* @var string $html The main HTML content for the panel.
[8] Fix | Delete
* @var string $helpHTML HTML content for the help area next to the close button.
[9] Fix | Delete
* @var string $footerHTML HTML content for the footer area next to the footer button.
[10] Fix | Delete
* @var string $footerButtonTitle Title for the footer button, defaults to "Continue".
[11] Fix | Delete
* @var bool $noX Optional, hides the top right x button if truthy.
[12] Fix | Delete
*/
[13] Fix | Delete
[14] Fix | Delete
if (!isset($footerButtonTitle)) {
[15] Fix | Delete
$footerButtonTitle = __('Continue', 'wordfence');
[16] Fix | Delete
}
[17] Fix | Delete
[18] Fix | Delete
$showX = !isset($noX) || !$noX;
[19] Fix | Delete
?>
[20] Fix | Delete
<div class="wf-modal">
[21] Fix | Delete
<div class="wf-modal-header">
[22] Fix | Delete
<div class="wf-modal-header-content">
[23] Fix | Delete
<div class="wf-modal-title">
[24] Fix | Delete
<strong><?php echo $title; ?></strong>
[25] Fix | Delete
</div>
[26] Fix | Delete
</div>
[27] Fix | Delete
<div class="wf-modal-header-action">
[28] Fix | Delete
<div><?php if (isset($helpHTML)) { echo $helpHTML; } ?></div>
[29] Fix | Delete
<?php if ($showX) { ?><div class="wf-padding-add-left-small wf-modal-header-action-close"><a href="#" onclick="WFAD.colorboxClose(); return false" role="button"><i class="wf-fa wf-fa-times-circle" aria-hidden="true"></i></a></div><?php } ?>
[30] Fix | Delete
</div>
[31] Fix | Delete
</div>
[32] Fix | Delete
<div class="wf-modal-content">
[33] Fix | Delete
<?php echo $html; ?>
[34] Fix | Delete
</div>
[35] Fix | Delete
<div class="wf-modal-footer">
[36] Fix | Delete
<ul class="wf-flex-horizontal wf-flex-full-width">
[37] Fix | Delete
<li><?php if (isset($footerHTML)) { echo $footerHTML; } ?></li>
[38] Fix | Delete
<li class="wf-right"><a href="#" class="wf-btn wf-btn-primary wf-btn-callout-subtle" id="wf-waf-modal-continue" role="button"><?php echo esc_html($footerButtonTitle); ?></a></li>
[39] Fix | Delete
</ul>
[40] Fix | Delete
</div>
[41] Fix | Delete
</div>
[42] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function