WordPress Jetpack Protect Error On Password Protected Site

I recently came across an issue with the Jetpack plugin for WordPress. If you enable the Protect setting on a password protected WordPress site, you will simply get a blank page after entering in the math answer and logging in. Took some time to find the answer to this, but it’s definitely a bug in the code. They haven’t fixed it yet and I’m on version 3.4.1. Just throwing this on here to maybe help others that are searching for the answer as well.

Add the one line to /plugins/jetpack/modules/protect.php

$use_math = $this->get_transient( 'brute_use_math' );
if ( 1 == $use_math && isset( $_POST['log'] ) ) {
include_once dirname( __FILE__ ) . '/protect/math-fallback.php';
Jetpack_Protect_Math_Authenticate::math_authenticate();
}

Credit: https://github.com/Automattic/jetpack/pull/1857/files

Related Posts

  • WordPress W3 Total Cache Plugin I think I finally found a cache plugin that doesn't go haywire and make things worse. WordPress plugin W3 Total Cache has been running for a bit and has seemed to help the recent slowness […]
  • Comment Mania! Apparently the Facebook plugin I used went haywire between last night and this morning. My apologies to anyone annoyed by email or mass Facebook update. Needless to say I have disabled […]
  • New Blog Theme Is Live I hunkered down and completed the new theme today and activated it. I chose the theme Suffusion by Sayontan Sinha .I hope everyone likes it as much as I do. Big credit to the developer as […]
  • Great Cache Plugin For WordPress I always wanted to speed up the processing of this blog as most of the stuff is static except for the posts. Found a really good cache plugin for WordPress today called WP Super Cache. If […]
  • Blog Modifications Ok well today I discovered that the blog hasn't looked right since I updated it last week. Guess that's my fault for not checking the site in Internet Explorer. Forgot to since I don't use […]
  • Joe And Jamie’s Blog Has Gone Mobile I finally sat down and figured out how to make Joe and Jamie's Blog look better for mobile readers. Well it turns out there are simple plugins out there that take all of two seconds to […]