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