diff --git a/README.md b/README.md index 5fe10e9..1fee133 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ **Tags:** OStatus, fediverse, activitypub, activitystream **Requires at least:** 4.7 **Tested up to:** 5.2.2 -**Stable tag:** 0.8.1 +**Stable tag:** 0.8.2 **Requires PHP:** 5.6 **License:** MIT **License URI:** http://opensource.org/licenses/MIT @@ -84,6 +84,14 @@ Where 'blog' is the path to the subdirectory at which your blog resides. Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub). +### 0.8.2 ### + +* add all required accept header +* better/simpler accept-header handling +* add debugging mechanism +* Add setting to enable AP for different (public) Post-Types +* explicit use of global functions + ### 0.8.1 ### * fixed PHP warnings diff --git a/activitypub.php b/activitypub.php index 963165e..57e34b8 100644 --- a/activitypub.php +++ b/activitypub.php @@ -3,7 +3,7 @@ * Plugin Name: ActivityPub * Plugin URI: https://github.com/pfefferle/wordpress-activitypub/ * Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format. - * Version: 0.8.1 + * Version: 0.8.2 * Author: Matthias Pfefferle * Author URI: https://notiz.blog/ * License: MIT diff --git a/includes/class-post.php b/includes/class-post.php index 7b814d4..2e2e2d5 100644 --- a/includes/class-post.php +++ b/includes/class-post.php @@ -277,7 +277,7 @@ class Post { $decoded_content = \html_entity_decode( $filtered_content, ENT_QUOTES, 'UTF-8' ); - $allowed_html = \apply_filters( 'activitypub_allowed_html', '

' ); + $allowed_html = \apply_filters( 'activitypub_allowed_html', '