updated plugin ActivityPub version 0.13.3

This commit is contained in:
KawaiiPunk 2022-03-21 13:34:54 +00:00 committed by Gitium
parent bdeb131b25
commit 713de650a5
3 changed files with 10 additions and 4 deletions

View File

@ -3,7 +3,7 @@
* Plugin Name: ActivityPub * Plugin Name: ActivityPub
* Plugin URI: https://github.com/pfefferle/wordpress-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. * Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
* Version: 0.13.2 * Version: 0.13.3
* Author: Matthias Pfefferle * Author: Matthias Pfefferle
* Author URI: https://notiz.blog/ * Author URI: https://notiz.blog/
* License: MIT * License: MIT

View File

@ -55,8 +55,10 @@ class Activity {
$this->actor = $object['attributedTo']; $this->actor = $object['attributedTo'];
} }
$type = \strtolower( $this->type );
if ( isset( $object['id'] ) ) { if ( isset( $object['id'] ) ) {
$this->id = $object['id']; $this->id = add_query_arg( 'activity', $type, $object['id'] );
} }
} }

View File

@ -3,8 +3,8 @@ Contributors: pfefferle, mediaformat
Donate link: https://notiz.blog/donate/ Donate link: https://notiz.blog/donate/
Tags: OStatus, fediverse, activitypub, activitystream Tags: OStatus, fediverse, activitypub, activitystream
Requires at least: 4.7 Requires at least: 4.7
Tested up to: 5.8 Tested up to: 5.9
Stable tag: 0.13.2 Stable tag: 0.13.3
Requires PHP: 5.6 Requires PHP: 5.6
License: MIT License: MIT
License URI: http://opensource.org/licenses/MIT License URI: http://opensource.org/licenses/MIT
@ -88,6 +88,10 @@ 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). Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
= 0.13.3 =
* fix: Create and Note should not have the same ActivityPub ID
= 0.13.2 = = 0.13.2 =
* fix Follow issue AGAIN * fix Follow issue AGAIN