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/dashboar...
File: options-group-email-summary.php
<?php
[0] Fix | Delete
if (!defined('WORDFENCE_VERSION')) { exit; }
[1] Fix | Delete
/**
[2] Fix | Delete
* Presents the Activity Report group.
[3] Fix | Delete
*
[4] Fix | Delete
* Expects $stateKey.
[5] Fix | Delete
*
[6] Fix | Delete
* @var string $stateKey The key under which the collapse state is stored.
[7] Fix | Delete
* @var bool $collapseable If defined, specifies whether or not this grouping can be collapsed. Defaults to true.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
if (!isset($collapseable)) {
[11] Fix | Delete
$collapseable = true;
[12] Fix | Delete
}
[13] Fix | Delete
?>
[14] Fix | Delete
<div class="wf-row">
[15] Fix | Delete
<div class="wf-col-xs-12">
[16] Fix | Delete
<div class="wf-block<?php if (!$collapseable) { echo ' wf-always-active'; } else { echo (wfPersistenceController::shared()->isActive($stateKey) ? ' wf-active' : ''); } ?>" data-persistence-key="<?php echo esc_attr($stateKey); ?>">
[17] Fix | Delete
<div class="wf-block-header">
[18] Fix | Delete
<div class="wf-block-header-content">
[19] Fix | Delete
<div class="wf-block-title">
[20] Fix | Delete
<strong><?php esc_html_e('Activity Report', 'wordfence'); ?></strong>
[21] Fix | Delete
</div>
[22] Fix | Delete
<?php if ($collapseable): ?><div class="wf-block-header-action"><div class="wf-block-header-action-disclosure" role="checkbox" aria-checked="<?php echo (wfPersistenceController::shared()->isActive($stateKey) ? 'true' : 'false'); ?>" tabindex="0"></div></div><?php endif; ?>
[23] Fix | Delete
</div>
[24] Fix | Delete
</div>
[25] Fix | Delete
<div class="wf-block-content">
[26] Fix | Delete
<ul class="wf-block-list">
[27] Fix | Delete
<li>
[28] Fix | Delete
<?php
[29] Fix | Delete
echo wfView::create('options/option-toggled-select', array(
[30] Fix | Delete
'toggleOptionName' => 'email_summary_enabled',
[31] Fix | Delete
'enabledToggleValue' => 1,
[32] Fix | Delete
'disabledToggleValue' => 0,
[33] Fix | Delete
'toggleValue' => wfConfig::get('email_summary_enabled') ? 1 : 0,
[34] Fix | Delete
'selectOptionName' => 'email_summary_interval',
[35] Fix | Delete
'selectOptions' => array(
[36] Fix | Delete
array('value' => 'daily', 'label' => __('Once a day', 'wordfence')),
[37] Fix | Delete
array('value' => 'weekly', 'label' => __('Once a week', 'wordfence')),
[38] Fix | Delete
array('value' => 'monthly', 'label' => __('Once a month', 'wordfence')),
[39] Fix | Delete
),
[40] Fix | Delete
'selectValue' => wfConfig::get('email_summary_interval'),
[41] Fix | Delete
'title' => __('Enable email summary', 'wordfence'),
[42] Fix | Delete
))->render();
[43] Fix | Delete
?>
[44] Fix | Delete
</li>
[45] Fix | Delete
<li>
[46] Fix | Delete
<?php
[47] Fix | Delete
echo wfView::create('options/option-textarea', array(
[48] Fix | Delete
'textOptionName' => 'email_summary_excluded_directories',
[49] Fix | Delete
'textValue' => wfUtils::cleanupOneEntryPerLine(wfConfig::get('email_summary_excluded_directories')),
[50] Fix | Delete
'title' => __('List of directories to exclude from recently modified file list', 'wordfence'),
[51] Fix | Delete
))->render();
[52] Fix | Delete
?>
[53] Fix | Delete
</li>
[54] Fix | Delete
<li>
[55] Fix | Delete
<?php
[56] Fix | Delete
echo wfView::create('options/option-toggled', array(
[57] Fix | Delete
'optionName' => 'email_summary_dashboard_widget_enabled',
[58] Fix | Delete
'enabledValue' => 1,
[59] Fix | Delete
'disabledValue' => 0,
[60] Fix | Delete
'value' => wfConfig::get('email_summary_dashboard_widget_enabled') ? 1 : 0,
[61] Fix | Delete
'title' => __('Enable activity report widget on the WordPress dashboard', 'wordfence'),
[62] Fix | Delete
))->render();
[63] Fix | Delete
?>
[64] Fix | Delete
</li>
[65] Fix | Delete
</ul>
[66] Fix | Delete
</div>
[67] Fix | Delete
</div>
[68] Fix | Delete
</div>
[69] Fix | Delete
</div> <!-- end email summary options -->
[70] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function