You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($this->settings['apiKey'] === '' || $this->settings['apiKey'] === null) {
149
149
$this->logger->debug('Could not check comment for spam because no Akismet API key was provided in the settings.', LogEnvironment::fromMethodName(__METHOD__));
@@ -170,7 +170,7 @@ public function isCommentSpam($permaLink, $content, $type, $author = '', $author
thrownewException\ConnectionException('Could not connect to Akismet API, virtual browser returned "' . var_export($response, true) . '"', 1335190115);
264
264
}
265
265
if ($response->getStatusCode() !== 200) {
266
-
thrownewException\ConnectionException('The Akismet API server did not respond with a 200 status code: "' . $response->getStatus() . '"', 1335190117);
266
+
thrownewException\ConnectionException('The Akismet API server did not respond with a 200 status code: "' . $response->getStatusCode() . '"', 1335190117);
0 commit comments