Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Sep 1, 2023
2 parents 5f5ac63 + 6800928 commit e671518
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion includes/class-pubsubhubbub-publisher.php
Expand Up @@ -78,6 +78,9 @@ public static function publish_update( $topic_urls, $hub_url ) {
'limit_response_size' => 1048576,
'redirection' => 20,
'user-agent' => "$user_agent; PubSubHubbub/WebSub",
'headers' => array(
'content-type' => 'application/x-www-form-urlencoded'
),
'body' => $post_string,
);

Expand Down Expand Up @@ -178,4 +181,4 @@ public static function get_feed_urls_by_post_id( $post_id ) {

return $feed_urls;
}
}
}

0 comments on commit e671518

Please sign in to comment.