} echo '<div class="notice notice-success"><p>' .
esc_html( $message ) . '</p></div>';
} else if ( isset( $_GET['akismet_recheck_error'
] ) ) { echo '<div class="notice notice-error"><p>' .
esc_html( __( 'Akismet could not recheck your comments for spam.', 'akismet'
) ) . '</p></div>';
} } public static function display_status() { if ( ! self::
get_server_connectivity() ) { Akismet::
view( 'notice', array
( 'type' => 'servers-be-down'
) );
} else if ( !
empty( self::
$notices ) ) { foreach ( self::
$notices as $index =>
$type ) { if ( is_object( $type ) ) { $notice_header =
$notice_text = '';
if ( property_exists( $type, 'notice_header'
) ) { $notice_header =
wp_kses( $type->notice_header, self::
$allowed );
}