Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Feb 20, 2023
1 parent 73ae7a5 commit 21cff7f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
**Tags:** OStatus, fediverse, activitypub, activitystream
**Requires at least:** 4.7
**Tested up to:** 6.1
**Stable tag:** 0.16.2
**Stable tag:** 0.16.3
**Requires PHP:** 5.6
**License:** MIT
**License URI:** http://opensource.org/licenses/MIT
Expand Down Expand Up @@ -88,6 +88,11 @@ 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.16.3 ###

* "cc", "to", ... fields can either be an array or a string
* Remove "style" and "script" HTML elements from content

### 0.16.2 ###

* Fix fatal error in outbox
Expand Down
2 changes: 1 addition & 1 deletion activitypub.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.16.2
* Version: 0.16.3
* Author: Matthias Pfefferle
* Author URI: https://notiz.blog/
* License: MIT
Expand Down
5 changes: 3 additions & 2 deletions includes/model/class-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,10 @@ public function get_content() {
wp_reset_postdata();

$content = \wpautop( \wp_kses( $content, $this->allowed_tags ) );
$content = \trim( \preg_replace( '/[\n\r\t]/', '', $content ) );

$filtered_content = \apply_filters( 'activitypub_the_content', $content, $post );
$content = \html_entity_decode( $filtered_content, \ENT_QUOTES, 'UTF-8' );
$content = \apply_filters( 'activitypub_the_content', $content, $post );
$content = \html_entity_decode( $content, \ENT_QUOTES, 'UTF-8' );

$this->content = $content;

Expand Down
7 changes: 6 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://notiz.blog/donate/
Tags: OStatus, fediverse, activitypub, activitystream
Requires at least: 4.7
Tested up to: 6.1
Stable tag: 0.16.2
Stable tag: 0.16.3
Requires PHP: 5.6
License: MIT
License URI: http://opensource.org/licenses/MIT
Expand Down Expand Up @@ -88,6 +88,11 @@ 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.16.3 =

* "cc", "to", ... fields can either be an array or a string
* Remove "style" and "script" HTML elements from content

= 0.16.2 =

* Fix fatal error in outbox
Expand Down

0 comments on commit 21cff7f

Please sign in to comment.