From: Stephen Paul Weber Date: Fri, 10 Jun 2016 21:13:10 +0000 (+0000) Subject: Allow 201 as well, because spec says so X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=97243c8a915259c6beae56959956c9e5b9dd4f8f;p=quix0rs-gnu-social.git Allow 201 as well, because spec says so --- diff --git a/plugins/Linkback/LinkbackPlugin.php b/plugins/Linkback/LinkbackPlugin.php index da7174bdc6..10006fa030 100644 --- a/plugins/Linkback/LinkbackPlugin.php +++ b/plugins/Linkback/LinkbackPlugin.php @@ -209,7 +209,7 @@ class LinkbackPlugin extends Plugin $payload ); - if(!in_array($response->getStatus(), array(200,202))) { + if(!in_array($response->getStatus(), array(200,201,202))) { common_log(LOG_WARNING, "Webmention request failed for '$url' ($endpoint)"); }