Skip to content

Commit a27a4fc

Browse files
committed
remove empty trim
fix #136
1 parent 9acd073 commit a27a4fc

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

activitypub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: ActivityPub
44
* Plugin URI: https://github.com/pfefferle/wordpress-activitypub/
55
* Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
6-
* Version: 0.14.3
6+
* Version: 0.15.0
77
* Author: Matthias Pfefferle
88
* Author URI: https://notiz.blog/
99
* License: MIT

readme.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://notiz.blog/donate/
44
Tags: OStatus, fediverse, activitypub, activitystream
55
Requires at least: 4.7
66
Tested up to: 6.1
7-
Stable tag: 0.14.3
7+
Stable tag: 0.15.0
88
Requires PHP: 5.6
99
License: MIT
1010
License URI: http://opensource.org/licenses/MIT
@@ -88,6 +88,11 @@ Where 'blog' is the path to the subdirectory at which your blog resides.
8888

8989
Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
9090

91+
= 0.15.0 =
92+
93+
* Enable ActivityPub only for users that can `publish_posts`
94+
95+
9196
= 0.14.3 =
9297

9398
* Better error handling. props [@akirk](https://github.com/akirk)

templates/blog-json.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
$json->publicKey = array(
3939
'id' => \get_home_url( '/' ) . '#main-key',
4040
'owner' => \get_home_url( '/' ),
41-
'publicKeyPem' => \trim(),
41+
'publicKeyPem' => '',
4242
);
4343

4444
$json->tag = array();

0 commit comments

Comments
 (0)