Title: Pterotype
Author: jdormit
Published: <strong>2018 年 10 月 21 日</strong>
Last modified: 2019 年 3 月 15 日

---

搜索插件

![](https://ps.w.org/pterotype/assets/banner-772x250.png?rev=1960254)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/pterotype/assets/icon-128x128.png?rev=1960254)

# Pterotype

 作者：[jdormit](https://profiles.wordpress.org/jdormit/)

[下载](https://downloads.wordpress.org/plugin/pterotype.1.4.3.zip)

 * [详情](https://cn.wordpress.org/plugins/pterotype/#description)
 * [评价](https://cn.wordpress.org/plugins/pterotype/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/pterotype/#developers)

 [支持](https://wordpress.org/support/plugin/pterotype/)

## 描述

Pterotype expands your audience by giving your blog an ActivityPub stream, making
it a part of the Fediverse. Users of Mastodon, Pleroma, and other Fediverse services
will be able to follow and share your posts from the platform of their choice.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Pterotype」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ jdormit ](https://profiles.wordpress.org/jdormit/)

[帮助将「Pterotype」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/pterotype)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/pterotype/)，查看[SVN仓库](https://plugins.svn.wordpress.org/pterotype/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/pterotype/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/pterotype/)。

## 更新日志

### 1.4.3

 * Fix the error from 1.4.2 the right way ¯_(ツ)_/¯

### 1.4.2

 * Fix an error where array_key_exists was being called on an argument that wasn’t
   always an array

### 1.4.1

 * This is a no-op version bump because I screwed up updating the WordPress plugin
   repository version info

### 1.4.0

 * Compact the actor field before delivering activities
 * Fix an issue where the post global wasn’t properly set when trying to get the
   post excerpt

### 1.3.1

 * Don’t do inbox forwarding to the local instance or for any activities whose object
   is an actor

### 1.3.0

 * Fully support PHP 5.x

### 1.2.13

 * Change some syntax that was only supported for PHP >= 5.5

### 1.2.12

 * Revert the change made in 1.2.12, as it turns out .well-known can only be at 
   the domain root

### 1.2.11

 * Account for blogs not hosted at the root domain for WebFinger discovery

### 1.2.10

 * Fix a PHP error where $wpdb->prepare was being called with only one argument

### 1.2.9

 * Add opengraph metadata to site if it doesn’t already have it
 * Handle invalid actor slugs
 * Improve handling of upserting objects into the DB

### 1.2.8

 * Show Fediverse icons as comment avatars for comments from the Fediverse
 * Advertise that followers get automatically approved via the manuallyApprovesFollowers
   field

### 1.2.7

 * Fix a bug where an invalid DB state broke post federation

### 1.2.6

 * Add admin dashboard where users can update the site’s Fediverse identity – site
   name, description, and icon

### 1.2.5

 * Add functionality to clean up database and tell federated servers when Pterotype
   is unintalled
 * Hydrate actor and object fields of activities before delivery

### 1.2.4

 * Fix a SQL error when initializing the plugin for the first time

### 1.2.3

 * Send an Update activity when the site logo changes
 * Log out activity delivery errors to the server error log

### 1.2.2

 * Fix a bug where actor public keys were getting truncated before being delivered
   to other servers
 * Fix the way icons are represented in the actor JSON

### 1.2.1

 * Send an Update activity when blog details (name, tagline) change
 * Fix a bug in where activities posted to the outbox had their data compacted before
   it was persisted

### 1.2.0

 * Fix a bug where incoming ActivityPub replies were getting duplicated if comment
   moderation was disabled
 * Stop leaking guest (non-user) commenter email addresses in their ActivityPub 
   usernames
 * Remove the JSON column in the pterotype_objects table to allow sites running 
   older MySQL versions to install Pterotype
 * Optimize Pterotype’s data storage by never storing more than one copy of the 
   same ActivityPub object
 * Optimize Pterotype’s network usage by checking for local copies of objects before
   requesting them from their host
 * Use the ActivityPub Article type for posts
 * Lower the delay between receiving a Follow and sending an Accept to 2 seconds(
   from 5)

### 1.1.2

 * Disable comment syncing for posts which have comments closed

### 1.1.1

 * Implement comment syncing between WordPress and the ActivityPub feed. This allows
   allows people to reply to posts from Mastodon et al. and have those replies reflected
   as comments in the WordPress site, and vice-versa (WordPress comments become 
   Mastodon et al. replies).
 * Fix a bug involving delivering to more than 2 ActivityPub inboxes.

### 1.0.0

 * Publish WordPress blog posts to an ActivityPub feed, allowing them to show up
   in Mastodon et al.

## 额外信息

 *  版本 **1.4.3**
 *  最后更新：**7 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.9.8 或更高版本 **
 *  已测试的最高版本为 **5.1.22**
 *  PHP 版本 ** 5.6.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/pterotype/)
 * 标签
 * [activitypub](https://cn.wordpress.org/plugins/tags/activitypub/)[federation](https://cn.wordpress.org/plugins/tags/federation/)
   [fediverse](https://cn.wordpress.org/plugins/tags/fediverse/)
 *  [高级视图](https://cn.wordpress.org/plugins/pterotype/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/pterotype/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/pterotype/reviews/)

## 贡献者

 *   [ jdormit ](https://profiles.wordpress.org/jdormit/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/pterotype/)