updated plugin ActivityPub version 8.3.0
This commit is contained in:
@ -28,10 +28,7 @@ class Link {
|
||||
* @return array Rhe activity object array.
|
||||
*/
|
||||
public static function filter_activity_object( $activity ) {
|
||||
/* phpcs:ignore Squiz.PHP.CommentedOutCode.Found
|
||||
Only changed it for Person and Group as long is not merged: https://github.com/mastodon/mastodon/pull/28629
|
||||
*/
|
||||
if ( ! empty( $activity['summary'] ) && in_array( $activity['type'], array( 'Person', 'Group' ), true ) ) {
|
||||
if ( ! empty( $activity['summary'] ) && is_actor( $activity ) ) {
|
||||
$activity['summary'] = self::the_content( $activity['summary'] );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user