: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
<?php if (!defined('WORDFENCE_VERSION')) { exit; } ?>
<title><?php esc_html_e('Your access to this site has been limited', 'wordfence'); ?></title>
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
h1, .h1 { font-size: 3rem; }
h2, .h2 { font-size: 2.5rem; }
h3, .h3 { font-size: 1.5rem; }
h4, .h4 { font-size: 1rem; }
h5, .h5 { font-size: 0.875rem; }
h6, .h6 { font-size: 0.75rem; }
touch-action: manipulation;
border: 1px solid transparent;
text-transform: uppercase;
-webkit-user-select: none;
@media (min-width: 768px) {
.wf-btn.wf-active.wf-focus {
outline: 5px auto -webkit-focus-ring-color;
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125)
fieldset[disabled] .wf-btn {
-webkit-box-shadow: none;
fieldset[disabled] a.wf-btn {
background-color: #e6e6e6;
background-color: #e6e6e6;
background-color: #e6e6e6;
.wf-btn-default:active:hover,
.wf-btn-default:active:focus,
.wf-btn-default:active.focus,
.wf-btn-default.active:hover,
.wf-btn-default.active:focus,
.wf-btn-default.active.focus {
background-color: #d4d4d4;
.wf-btn-default.wf-active {
.wf-btn-default.wf-disabled,
.wf-btn-default[disabled],
.wf-btn-default[readonly],
fieldset[disabled] .wf-btn-default {
.wf-btn-default.wf-disabled:hover,
.wf-btn-default.wf-disabled:focus,
.wf-btn-default.wf-disabled.wf-focus,
.wf-btn-default[disabled]:hover,
.wf-btn-default[disabled]:focus,
.wf-btn-default[disabled].wf-focus,
.wf-btn-default[readonly]:hover,
.wf-btn-default[readonly]:focus,
.wf-btn-default[readonly].wf-focus,
fieldset[disabled] .wf-btn-default:hover,
fieldset[disabled] .wf-btn-default:focus,
fieldset[disabled] .wf-btn-default.wf-focus {
input[type="text"], input.wf-input-text {
background-color: #ffffff;
box-shadow: 0px 0px 0px 1px rgba(215,215,215,0.65);
border-top: 4px solid #eee
background-color: #00709e;
border-top: 6px solid #00709e;
.block-data tr:nth-child(odd) th, .block-data tr:nth-child(odd) td {
background-color: #eeeeee;
.block-data th, .block-data td {
.block-data th.reason, .block-data td.reason {
justify-content: flex-start;
background-color: #00709e;
.about-text p:first-of-type {
.about-text p:last-of-type {
/* Text meant only for screen readers. */
clip: rect(1px, 1px, 1px, 1px);
word-wrap: normal !important;
.screen-reader-text:focus {
z-index: 100000; /* Above WP toolbar. */
<div class="top-accent"></div>
<h1><?php esc_html_e('Your access to this site has been limited by the site owner', 'wordfence'); ?></h1>
<p><?php esc_html_e('Your access to this service has been limited. (HTTP response code 503)', 'wordfence'); ?></p>
<p><?php esc_html_e('If you think you have been blocked in error, contact the owner of this site for assistance.', 'wordfence'); ?></p>
<?php if (!empty($customText)): ?>
<div class="medium"><?php echo $customText; ?></div>
<?php require(dirname(__FILE__) . '/wfUnlockMsg.php'); ?>
<h2 class="h3"><?php esc_html_e('Block Technical Data', 'wordfence') ?></h2>
<table border="0" cellspacing="0" cellpadding="0" class="block-data">
<th class="reason"><?php esc_html_e('Block Reason', 'wordfence'); ?>:</th>
<td class="reason"><?php echo htmlspecialchars($reason); ?></td>
<th class="time"><?php esc_html_e('Time', 'wordfence'); ?>:</th>
<td class="time"><?php echo htmlspecialchars(gmdate('D, j M Y G:i:s T', wfWAFUtils::normalizedTime())); ?></td>
$contents = file_get_contents(WORDFENCE_PATH . '/images/wf-error-badge.svg');
$contents = preg_replace('/^<\?xml.+?\?>\s*/i', '', $contents);
$contents = preg_replace('/^<!DOCTYPE.+?>\s*/i', '', $contents);
$contents = preg_replace('/<svg\s+xmlns="[^"]*"/i', '<svg', $contents);
<h3 class="h4"><?php esc_html_e('About Wordfence', 'wordfence'); ?></h3>
<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>
<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>
<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>
<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>