<inputtype="submit"class="aa_button"value="<?php esc_attr_e( 'Set up your Akismet account', 'akismet' ); ?>"/>
</div>
</div>
<divclass="aa_description">
<?php
echowp_kses(
__('<strong>Almost done</strong> - configure Akismet and say goodbye to spam','akismet'),
$kses_allow_strong
);
?>
</div>
</div>
</form>
</div>
<?phpelseif($type==='spam-check'):?>
<divclass="notice notice-warning">
<p><strong><?phpesc_html_e('Akismet has detected a problem.','akismet');?></strong></p>
<p><?phpesc_html_e('Some comments have not yet been checked for spam by Akismet. They have been temporarily held for moderation and will automatically be rechecked later.','akismet');?></p>
/* translators: the placeholder is a clickable URL that leads to more information regarding an error code. */
printf(esc_html__('For more information: %s','akismet'),'<a href="https://akismet.com/errors/'.esc_attr($code).'">https://akismet.com/errors/'.esc_attr($code).'</a>');
<h3class="akismet-alert__heading"><?phpesc_html_e('Network functions are disabled.','akismet');?></h3>
<p>
<?php
/* translators: The placeholder is a URL. */
echowp_kses(sprintf(__('Your web host or server administrator has disabled PHP’s <code>gethostbynamel</code> function. <strong>Akismet cannot work correctly until this is fixed.</strong> Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet’s system requirements</a>.','akismet'),esc_url('https://akismet.com/akismet-hosting-faq/')),array_merge($kses_allow_link,$kses_allow_strong,array('code'=>true)));
?>
</p>
</div>
<?phpelseif($type==='servers-be-down'):?>
<divclass="akismet-alert is-bad">
<h3class="akismet-alert__heading"><?phpesc_html_e('Your site can’t connect to the Akismet servers.','akismet');?></h3>
<p>
<?php
/* translators: The placeholder is a URL. */
echowp_kses(sprintf(__('Your firewall may be blocking Akismet from connecting to its API. Please contact your host and refer to <a href="%s" target="_blank">our guide about firewalls</a>.','akismet'),esc_url('https://akismet.com/akismet-hosting-faq/')),$kses_allow_link);
?>
</p>
</div>
<?phpelseif($type==='active-dunning'):?>
<divclass="akismet-alert is-bad">
<h3class="akismet-alert__heading"><?phpesc_html_e('Please update your payment information.','akismet');?></h3>
<p>
<?php
/* translators: The placeholder is a URL. */
echowp_kses(sprintf(__('We cannot process your payment. Please <a href="%s" target="_blank">update your payment details</a>.','akismet'),esc_url('https://akismet.com/account/')),$kses_allow_link);
?>
</p>
</div>
<?phpelseif($type==='cancelled'):?>
<divclass="akismet-alert is-bad">
<h3class="akismet-alert__heading"><?phpesc_html_e('Your Akismet plan has been cancelled.','akismet');?></h3>
<p>
<?php
/* translators: The placeholder is a URL. */
echowp_kses(sprintf(__('Please visit your <a href="%s" target="_blank">Akismet account page</a> to reactivate your subscription.','akismet'),esc_url('https://akismet.com/account/')),$kses_allow_link);
?>
</p>
</div>
<?phpelseif($type==='suspended'):?>
<divclass="akismet-alert is-bad">
<h3class="akismet-alert__heading"><?phpesc_html_e('Your Akismet subscription is suspended.','akismet');?></h3>
<p>
<?php
/* translators: The placeholder is a URL. */
echowp_kses(sprintf(__('Please contact <a href="%s" target="_blank">Akismet support</a> for assistance.','akismet'),esc_url('https://akismet.com/contact/')),$kses_allow_link);
/* translators: the placeholder is a clickable URL to the Akismet account upgrade page. */
echowp_kses(sprintf(__('You can help us fight spam and upgrade your account by <a href="%s" target="_blank">contributing a token amount</a>.','akismet'),esc_url('https://akismet.com/pricing')),$kses_allow_link);
?>
</p>
</div>
<?phpelseif($type==='missing'):?>
<divclass="akismet-alert is-bad">
<h3class="akismet-alert__heading"><?phpesc_html_e('There is a problem with your API key.','akismet');?></h3>
<p>
<?php
/* translators: The placeholder is a URL to the Akismet contact form. */
echowp_kses(sprintf(__('Please contact <a href="%s" target="_blank">Akismet support</a> for assistance.','akismet'),esc_url('https://akismet.com/contact/')),$kses_allow_link);
?>
</p>
</div>
<?phpelseif($type==='no-sub'):?>
<divclass="akismet-alert is-bad">
<h3class="akismet-alert__heading"><?phpesc_html_e('You don’t have an Akismet plan.','akismet');?></h3>
/* translators: the placeholder is the URL to the Akismet pricing page. */
echowp_kses(sprintf(__('Please <a href="%s" target="_blank">choose a plan</a> to get started with Akismet.','akismet'),esc_url('https://akismet.com/pricing')),$kses_allow_link);
<p><?phpesc_html_e('Akismet is now protecting your site from spam.','akismet');?></p>
<?phpif($check_pending_link):?>
<p>
<?php
echowp_kses(
sprintf(
/* translators: The placeholder is a URL for checking pending comments. */
__('Would you like to <a href="%s">check pending comments</a>?','akismet'),
esc_url($check_pending_link)
),
$kses_allow_link
);
?>
</p>
<?phpendif;?>
</div>
<?phpelseif($type==='new-key-invalid'):?>
<divclass="akismet-alert is-bad">
<p><?phpesc_html_e('The key you entered is invalid. Please double-check it.','akismet');?></p>
</div>
<?phpelseif($type==='existing-key-invalid'):?>
<divclass="akismet-alert is-bad">
<h3class="akismet-alert__heading"><?phpechoesc_html(__('Your API key is no longer valid.','akismet'));?></h3>
<p>
<?php
echowp_kses(
sprintf(
/* translators: The placeholder is a URL to the Akismet contact form. */
__('Please enter a new key or <a href="%s" target="_blank">contact Akismet support</a>.','akismet'),
'https://akismet.com/contact/'
),
$kses_allow_link
);
?>
</p>
</div>
<?phpelseif($type==='new-key-failed'):?>
<divclass="akismet-alert is-bad">
<h3class="akismet-alert__heading"><?phpesc_html_e('The API key you entered could not be verified.','akismet');?></h3>
<p>
<?php
echowp_kses(
sprintf(
/* translators: The placeholder is a URL. */
__('The connection to akismet.com could not be established. Please refer to <a href="%s" target="_blank">our guide about firewalls</a> and check your server configuration.','akismet'),
echoesc_html(__('Learn more about usage limits.','akismet'));
echo'</a>';
break;
case'SECOND_MONTH_OVER_LIMIT':
echoesc_html(__('Your Akismet usage has been over your plan’s limit for two consecutive months. Next month, we will restrict your account after you reach the limit. Please consider upgrading your plan.','akismet'));
echoesc_html(__('Learn more about usage limits.','akismet'));
echo'</a>';
break;
case'THIRD_MONTH_APPROACHING_LIMIT':
echoesc_html(__('Your Akismet usage is nearing your plan’s limit for the third consecutive month. We will restrict your account after you reach the limit. Upgrade your plan so Akismet can continue blocking spam.','akismet'));
echoesc_html(__('Learn more about usage limits.','akismet'));
echo'</a>';
break;
case'THIRD_MONTH_OVER_LIMIT':
case'FOUR_PLUS_MONTHS_OVER_LIMIT':
echoesc_html(__('Your Akismet usage has been over your plan’s limit for three consecutive months. We have restricted your account for the rest of the month. Upgrade your plan so Akismet can continue blocking spam.','akismet'));