--- functions.php (working copy)
+++ functions.php (latest)
@@ -3677,9 +3677,7 @@
 			return true;
 	} elseif ( isset($_SERVER['SERVER_PORT']) && ( '443' == $_SERVER['SERVER_PORT'] ) ) {
 		return true;
-	} elseif ( isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && ( 'https' == strotolower($_SERVER['HTTP_X_FORWARDED_PROTO']) ) ) {
-        return true;
-    }
+	}
 	return false;
 }
 
