summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/protect')
-rw-r--r--plugins/jetpack/modules/protect/math-fallback.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/protect/math-fallback.php b/plugins/jetpack/modules/protect/math-fallback.php
index 4b1ae690..69d283e7 100644
--- a/plugins/jetpack/modules/protect/math-fallback.php
+++ b/plugins/jetpack/modules/protect/math-fallback.php
@@ -50,7 +50,7 @@ if ( ! class_exists( 'Jetpack_Protect_Math_Authenticate' ) ) {
wp_die(
__( '<strong>You failed to correctly answer the math problem.</strong> This is used to combat spam when the Protect API is unavailable. Please use your browser\'s back button to return to the login form, press the "refresh" button to generate a new math problem, and try to log in again.', 'jetpack' ),
'',
- 401
+ array ( 'response' => 401 )
);
} else {
return true;
@@ -86,7 +86,7 @@ if ( ! class_exists( 'Jetpack_Protect_Math_Authenticate' ) ) {
wp_die(
$mathpage,
'',
- '401'
+ array ( 'response' => 401 )
);
}