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.../lib
File: wf503.php
<?php if (!defined('WORDFENCE_VERSION')) { exit; } ?>
[0] Fix | Delete
<!DOCTYPE html>
[1] Fix | Delete
<html>
[2] Fix | Delete
<head>
[3] Fix | Delete
<title><?php esc_html_e('Your access to this site has been limited', 'wordfence'); ?></title>
[4] Fix | Delete
<style>
[5] Fix | Delete
html {
[6] Fix | Delete
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
[7] Fix | Delete
font-size: 0.875rem;
[8] Fix | Delete
line-height: 1.42857143;
[9] Fix | Delete
color: #333;
[10] Fix | Delete
background-color: #fff;
[11] Fix | Delete
padding: 0;
[12] Fix | Delete
margin: 0;
[13] Fix | Delete
}
[14] Fix | Delete
[15] Fix | Delete
body {
[16] Fix | Delete
padding: 0;
[17] Fix | Delete
margin: 0;
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
a {
[21] Fix | Delete
color:#00709e;
[22] Fix | Delete
}
[23] Fix | Delete
[24] Fix | Delete
h1, h2, h3, h4, h5, h6 {
[25] Fix | Delete
font-weight: 200;
[26] Fix | Delete
line-height: 1.1;
[27] Fix | Delete
}
[28] Fix | Delete
[29] Fix | Delete
h1, .h1 { font-size: 3rem; }
[30] Fix | Delete
h2, .h2 { font-size: 2.5rem; }
[31] Fix | Delete
h3, .h3 { font-size: 1.5rem; }
[32] Fix | Delete
h4, .h4 { font-size: 1rem; }
[33] Fix | Delete
h5, .h5 { font-size: 0.875rem; }
[34] Fix | Delete
h6, .h6 { font-size: 0.75rem; }
[35] Fix | Delete
[36] Fix | Delete
h1, h2, h3 {
[37] Fix | Delete
margin-top: 20px;
[38] Fix | Delete
margin-bottom: 10px;
[39] Fix | Delete
}
[40] Fix | Delete
h4, h5, h6 {
[41] Fix | Delete
margin-top: 10px;
[42] Fix | Delete
margin-bottom: 10px;
[43] Fix | Delete
}
[44] Fix | Delete
[45] Fix | Delete
.wf-btn {
[46] Fix | Delete
display: inline-block;
[47] Fix | Delete
margin-bottom: 0;
[48] Fix | Delete
font-weight: normal;
[49] Fix | Delete
text-align: center;
[50] Fix | Delete
vertical-align: middle;
[51] Fix | Delete
touch-action: manipulation;
[52] Fix | Delete
cursor: pointer;
[53] Fix | Delete
background-image: none;
[54] Fix | Delete
border: 1px solid transparent;
[55] Fix | Delete
white-space: nowrap;
[56] Fix | Delete
text-transform: uppercase;
[57] Fix | Delete
padding: .4rem 1rem;
[58] Fix | Delete
font-size: .875rem;
[59] Fix | Delete
line-height: 1.3125rem;
[60] Fix | Delete
border-radius: 4px;
[61] Fix | Delete
-webkit-user-select: none;
[62] Fix | Delete
-moz-user-select: none;
[63] Fix | Delete
-ms-user-select: none;
[64] Fix | Delete
user-select: none
[65] Fix | Delete
}
[66] Fix | Delete
[67] Fix | Delete
@media (min-width: 768px) {
[68] Fix | Delete
.wf-btn {
[69] Fix | Delete
padding: .5rem 1.25rem;
[70] Fix | Delete
font-size: .875rem;
[71] Fix | Delete
line-height: 1.3125rem;
[72] Fix | Delete
border-radius: 4px
[73] Fix | Delete
}
[74] Fix | Delete
}
[75] Fix | Delete
[76] Fix | Delete
.wf-btn:focus,
[77] Fix | Delete
.wf-btn.wf-focus,
[78] Fix | Delete
.wf-btn:active:focus,
[79] Fix | Delete
.wf-btn:active.wf-focus,
[80] Fix | Delete
.wf-btn.wf-active:focus,
[81] Fix | Delete
.wf-btn.wf-active.wf-focus {
[82] Fix | Delete
outline: 5px auto -webkit-focus-ring-color;
[83] Fix | Delete
outline-offset: -2px
[84] Fix | Delete
}
[85] Fix | Delete
[86] Fix | Delete
.wf-btn:hover,
[87] Fix | Delete
.wf-btn:focus,
[88] Fix | Delete
.wf-btn.wf-focus {
[89] Fix | Delete
color: #00709e;
[90] Fix | Delete
text-decoration: none
[91] Fix | Delete
}
[92] Fix | Delete
[93] Fix | Delete
.wf-btn:active,
[94] Fix | Delete
.wf-btn.wf-active {
[95] Fix | Delete
outline: 0;
[96] Fix | Delete
background-image: none;
[97] Fix | Delete
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
[98] Fix | Delete
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125)
[99] Fix | Delete
}
[100] Fix | Delete
[101] Fix | Delete
.wf-btn.wf-disabled,
[102] Fix | Delete
.wf-btn[disabled],
[103] Fix | Delete
.wf-btn[readonly],
[104] Fix | Delete
fieldset[disabled] .wf-btn {
[105] Fix | Delete
cursor: not-allowed;
[106] Fix | Delete
-webkit-box-shadow: none;
[107] Fix | Delete
box-shadow: none
[108] Fix | Delete
}
[109] Fix | Delete
[110] Fix | Delete
a.wf-btn {
[111] Fix | Delete
text-decoration: none
[112] Fix | Delete
}
[113] Fix | Delete
[114] Fix | Delete
a.wf-btn.wf-disabled,
[115] Fix | Delete
fieldset[disabled] a.wf-btn {
[116] Fix | Delete
cursor: not-allowed;
[117] Fix | Delete
pointer-events: none
[118] Fix | Delete
}
[119] Fix | Delete
[120] Fix | Delete
.wf-btn-default {
[121] Fix | Delete
color: #00709e;
[122] Fix | Delete
background-color: #fff;
[123] Fix | Delete
border-color: #00709e
[124] Fix | Delete
}
[125] Fix | Delete
[126] Fix | Delete
.wf-btn-default:focus,
[127] Fix | Delete
.wf-btn-default.focus {
[128] Fix | Delete
color: #00709e;
[129] Fix | Delete
background-color: #e6e6e6;
[130] Fix | Delete
border-color: #00161f
[131] Fix | Delete
}
[132] Fix | Delete
[133] Fix | Delete
.wf-btn-default:hover {
[134] Fix | Delete
color: #00709e;
[135] Fix | Delete
background-color: #e6e6e6;
[136] Fix | Delete
border-color: #004561
[137] Fix | Delete
}
[138] Fix | Delete
[139] Fix | Delete
.wf-btn-default:active,
[140] Fix | Delete
.wf-btn-default.active {
[141] Fix | Delete
color: #00709e;
[142] Fix | Delete
background-color: #e6e6e6;
[143] Fix | Delete
border-color: #004561
[144] Fix | Delete
}
[145] Fix | Delete
[146] Fix | Delete
.wf-btn-default:active:hover,
[147] Fix | Delete
.wf-btn-default:active:focus,
[148] Fix | Delete
.wf-btn-default:active.focus,
[149] Fix | Delete
.wf-btn-default.active:hover,
[150] Fix | Delete
.wf-btn-default.active:focus,
[151] Fix | Delete
.wf-btn-default.active.focus {
[152] Fix | Delete
color: #00709e;
[153] Fix | Delete
background-color: #d4d4d4;
[154] Fix | Delete
border-color: #00161f
[155] Fix | Delete
}
[156] Fix | Delete
[157] Fix | Delete
.wf-btn-default:active,
[158] Fix | Delete
.wf-btn-default.wf-active {
[159] Fix | Delete
background-image: none
[160] Fix | Delete
}
[161] Fix | Delete
[162] Fix | Delete
.wf-btn-default.wf-disabled,
[163] Fix | Delete
.wf-btn-default[disabled],
[164] Fix | Delete
.wf-btn-default[readonly],
[165] Fix | Delete
fieldset[disabled] .wf-btn-default {
[166] Fix | Delete
color: #777;
[167] Fix | Delete
background-color: #fff;
[168] Fix | Delete
border-color: #e2e2e2;
[169] Fix | Delete
cursor: not-allowed
[170] Fix | Delete
}
[171] Fix | Delete
[172] Fix | Delete
.wf-btn-default.wf-disabled:hover,
[173] Fix | Delete
.wf-btn-default.wf-disabled:focus,
[174] Fix | Delete
.wf-btn-default.wf-disabled.wf-focus,
[175] Fix | Delete
.wf-btn-default[disabled]:hover,
[176] Fix | Delete
.wf-btn-default[disabled]:focus,
[177] Fix | Delete
.wf-btn-default[disabled].wf-focus,
[178] Fix | Delete
.wf-btn-default[readonly]:hover,
[179] Fix | Delete
.wf-btn-default[readonly]:focus,
[180] Fix | Delete
.wf-btn-default[readonly].wf-focus,
[181] Fix | Delete
fieldset[disabled] .wf-btn-default:hover,
[182] Fix | Delete
fieldset[disabled] .wf-btn-default:focus,
[183] Fix | Delete
fieldset[disabled] .wf-btn-default.wf-focus {
[184] Fix | Delete
background-color: #fff;
[185] Fix | Delete
border-color: #00709e
[186] Fix | Delete
}
[187] Fix | Delete
[188] Fix | Delete
input[type="text"], input.wf-input-text {
[189] Fix | Delete
text-align: left;
[190] Fix | Delete
max-width: 200px;
[191] Fix | Delete
height: 30px;
[192] Fix | Delete
border-radius: 0;
[193] Fix | Delete
border: 0;
[194] Fix | Delete
background-color: #ffffff;
[195] Fix | Delete
box-shadow: 0px 0px 0px 1px rgba(215,215,215,0.65);
[196] Fix | Delete
padding: 0.25rem;
[197] Fix | Delete
}
[198] Fix | Delete
[199] Fix | Delete
hr {
[200] Fix | Delete
margin-top: 1rem;
[201] Fix | Delete
margin-bottom: 1rem;
[202] Fix | Delete
border: 0;
[203] Fix | Delete
border-top: 4px solid #eee
[204] Fix | Delete
}
[205] Fix | Delete
[206] Fix | Delete
p {
[207] Fix | Delete
font-size: 1.4rem;
[208] Fix | Delete
font-weight: 300;
[209] Fix | Delete
}
[210] Fix | Delete
[211] Fix | Delete
p.medium, div.medium p {
[212] Fix | Delete
font-size: 1.1rem;
[213] Fix | Delete
}
[214] Fix | Delete
[215] Fix | Delete
p.small, div.small p {
[216] Fix | Delete
font-size: 1rem;
[217] Fix | Delete
}
[218] Fix | Delete
[219] Fix | Delete
.container {
[220] Fix | Delete
max-width: 900px;
[221] Fix | Delete
padding: 0 1rem;
[222] Fix | Delete
margin: 0 auto;
[223] Fix | Delete
}
[224] Fix | Delete
[225] Fix | Delete
.top-accent {
[226] Fix | Delete
height: 25px;
[227] Fix | Delete
background-color: #00709e;
[228] Fix | Delete
}
[229] Fix | Delete
[230] Fix | Delete
.block-data {
[231] Fix | Delete
width: 100%;
[232] Fix | Delete
border-top: 6px solid #00709e;
[233] Fix | Delete
}
[234] Fix | Delete
[235] Fix | Delete
.block-data tr:nth-child(odd) th, .block-data tr:nth-child(odd) td {
[236] Fix | Delete
background-color: #eeeeee;
[237] Fix | Delete
}
[238] Fix | Delete
[239] Fix | Delete
.block-data th, .block-data td {
[240] Fix | Delete
text-align: left;
[241] Fix | Delete
padding: 1rem;
[242] Fix | Delete
font-size: 1.1rem;
[243] Fix | Delete
}
[244] Fix | Delete
[245] Fix | Delete
.block-data th.reason, .block-data td.reason {
[246] Fix | Delete
color: #930000;
[247] Fix | Delete
}
[248] Fix | Delete
[249] Fix | Delete
.block-data th {
[250] Fix | Delete
font-weight: 300;
[251] Fix | Delete
}
[252] Fix | Delete
[253] Fix | Delete
.block-data td {
[254] Fix | Delete
font-weight: 500;
[255] Fix | Delete
}
[256] Fix | Delete
[257] Fix | Delete
.about {
[258] Fix | Delete
margin-top: 2rem;
[259] Fix | Delete
display: flex;
[260] Fix | Delete
flex-direction: row;
[261] Fix | Delete
align-items: stretch;
[262] Fix | Delete
}
[263] Fix | Delete
[264] Fix | Delete
.about .badge {
[265] Fix | Delete
flex-basis: 116px;
[266] Fix | Delete
flex-grow: 0;
[267] Fix | Delete
flex-shrink: 0;
[268] Fix | Delete
display: flex;
[269] Fix | Delete
align-items: center;
[270] Fix | Delete
justify-content: flex-start;
[271] Fix | Delete
}
[272] Fix | Delete
[273] Fix | Delete
.about svg {
[274] Fix | Delete
width: 100px;
[275] Fix | Delete
height: 100px;
[276] Fix | Delete
[277] Fix | Delete
}
[278] Fix | Delete
[279] Fix | Delete
.about-text {
[280] Fix | Delete
background-color: #00709e;
[281] Fix | Delete
color: #ffffff;
[282] Fix | Delete
padding: 1rem;
[283] Fix | Delete
}
[284] Fix | Delete
[285] Fix | Delete
.about-text .h4 {
[286] Fix | Delete
font-weight: 500;
[287] Fix | Delete
margin-top: 0;
[288] Fix | Delete
margin-bottom: 0.25rem;
[289] Fix | Delete
font-size: 0.875rem;
[290] Fix | Delete
}
[291] Fix | Delete
[292] Fix | Delete
.about-text p {
[293] Fix | Delete
font-size: 0.875rem;
[294] Fix | Delete
font-weight: 200;
[295] Fix | Delete
margin-top: 0.3rem;
[296] Fix | Delete
margin-bottom: 0.3rem;
[297] Fix | Delete
}
[298] Fix | Delete
[299] Fix | Delete
.about-text p:first-of-type {
[300] Fix | Delete
margin-top: 0;
[301] Fix | Delete
}
[302] Fix | Delete
[303] Fix | Delete
.about-text p:last-of-type {
[304] Fix | Delete
margin-bottom: 0;
[305] Fix | Delete
}
[306] Fix | Delete
[307] Fix | Delete
.st0{fill:#00709e;}
[308] Fix | Delete
.st1{fill:#FFFFFF;}
[309] Fix | Delete
[310] Fix | Delete
.generated {
[311] Fix | Delete
color: #999999;
[312] Fix | Delete
margin-top: 2rem;
[313] Fix | Delete
}
[314] Fix | Delete
[315] Fix | Delete
/* Text meant only for screen readers. */
[316] Fix | Delete
.screen-reader-text {
[317] Fix | Delete
border: 0;
[318] Fix | Delete
clip: rect(1px, 1px, 1px, 1px);
[319] Fix | Delete
clip-path: inset(50%);
[320] Fix | Delete
height: 1px;
[321] Fix | Delete
margin: -1px;
[322] Fix | Delete
overflow: hidden;
[323] Fix | Delete
padding: 0;
[324] Fix | Delete
position: absolute;
[325] Fix | Delete
width: 1px;
[326] Fix | Delete
word-wrap: normal !important;
[327] Fix | Delete
}
[328] Fix | Delete
.screen-reader-text:focus {
[329] Fix | Delete
background-color: #eee;
[330] Fix | Delete
clip: auto !important;
[331] Fix | Delete
clip-path: none;
[332] Fix | Delete
color: #444;
[333] Fix | Delete
display: block;
[334] Fix | Delete
font-size: 1em;
[335] Fix | Delete
height: auto;
[336] Fix | Delete
left: 5px;
[337] Fix | Delete
line-height: normal;
[338] Fix | Delete
padding: 15px 23px 14px;
[339] Fix | Delete
text-decoration: none;
[340] Fix | Delete
top: 5px;
[341] Fix | Delete
width: auto;
[342] Fix | Delete
z-index: 100000; /* Above WP toolbar. */
[343] Fix | Delete
}
[344] Fix | Delete
</style>
[345] Fix | Delete
</head>
[346] Fix | Delete
<body>
[347] Fix | Delete
<div class="top-accent"></div>
[348] Fix | Delete
<div class="container">
[349] Fix | Delete
<h1><?php esc_html_e('Your access to this site has been limited by the site owner', 'wordfence'); ?></h1>
[350] Fix | Delete
<p><?php esc_html_e('Your access to this service has been limited. (HTTP response code 503)', 'wordfence'); ?></p>
[351] Fix | Delete
<p><?php esc_html_e('If you think you have been blocked in error, contact the owner of this site for assistance.', 'wordfence'); ?></p>
[352] Fix | Delete
<?php if (!empty($customText)): ?>
[353] Fix | Delete
<hr>
[354] Fix | Delete
<div class="medium"><?php echo $customText; ?></div>
[355] Fix | Delete
<?php endif; ?>
[356] Fix | Delete
<hr>
[357] Fix | Delete
<?php require(dirname(__FILE__) . '/wfUnlockMsg.php'); ?>
[358] Fix | Delete
[359] Fix | Delete
<h2 class="h3"><?php esc_html_e('Block Technical Data', 'wordfence') ?></h2>
[360] Fix | Delete
<table border="0" cellspacing="0" cellpadding="0" class="block-data">
[361] Fix | Delete
<tr>
[362] Fix | Delete
<th class="reason"><?php esc_html_e('Block Reason', 'wordfence'); ?>:</th>
[363] Fix | Delete
<td class="reason"><?php echo htmlspecialchars($reason); ?></td>
[364] Fix | Delete
</tr>
[365] Fix | Delete
<tr>
[366] Fix | Delete
<th class="time"><?php esc_html_e('Time', 'wordfence'); ?>:</th>
[367] Fix | Delete
<td class="time"><?php echo htmlspecialchars(gmdate('D, j M Y G:i:s T', wfWAFUtils::normalizedTime())); ?></td>
[368] Fix | Delete
</tr>
[369] Fix | Delete
</table>
[370] Fix | Delete
[371] Fix | Delete
<div class="about">
[372] Fix | Delete
<div class="badge">
[373] Fix | Delete
<?php
[374] Fix | Delete
$contents = file_get_contents(WORDFENCE_PATH . '/images/wf-error-badge.svg');
[375] Fix | Delete
$contents = preg_replace('/^<\?xml.+?\?>\s*/i', '', $contents);
[376] Fix | Delete
$contents = preg_replace('/^<!DOCTYPE.+?>\s*/i', '', $contents);
[377] Fix | Delete
$contents = preg_replace('/<svg\s+xmlns="[^"]*"/i', '<svg', $contents);
[378] Fix | Delete
echo $contents;
[379] Fix | Delete
?>
[380] Fix | Delete
</div>
[381] Fix | Delete
<div class="about-text">
[382] Fix | Delete
<h3 class="h4"><?php esc_html_e('About Wordfence', 'wordfence'); ?></h3>
[383] Fix | Delete
<p><?php esc_html_e('Wordfence is a security plugin installed on over 5 million WordPress sites. The owner of this site is using Wordfence to manage access to their site.', 'wordfence'); ?></p>
[384] Fix | Delete
<p><?php esc_html_e('You can also read the documentation to learn about Wordfence\'s blocking tools, or visit wordfence.com to learn more about Wordfence.', 'wordfence'); ?></p>
[385] Fix | Delete
</div>
[386] Fix | Delete
</div>
[387] Fix | Delete
[388] Fix | Delete
<p class="documentation small"><?php echo wp_kses(sprintf(/* translators: Support URL. */ __('Click here to learn more: <a href="%s" target="_blank" rel="noopener noreferrer">Documentation<span class="screen-reader-text"> (' . esc_html__('opens in new tab', 'wordfence') . ')</span></a>', 'wordfence'), wfSupportController::esc_supportURL(wfSupportController::ITEM_LOCKED_OUT)), array('a'=>array('href'=>array(), 'target'=>array(), 'rel'=>array()), 'span'=>array('class'=>array()))); ?></p>
[389] Fix | Delete
<p class="generated small"><em><?php echo wp_kses(sprintf(/* translators: Localized date. */ __('Generated by Wordfence at %s', 'wordfence'), gmdate('D, j M Y G:i:s T', wfWAFUtils::normalizedTime())), array('a'=>array('href'=>array(), 'target'=>array(), 'rel'=>array()))); ?>.<br><?php esc_html_e('Your computer\'s time:', 'wordfence'); ?> <script type="application/javascript">document.write(new Date().toUTCString());</script>.</em></p>
[390] Fix | Delete
</div>
[391] Fix | Delete
</body>
[392] Fix | Delete
</html>
[393] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function