From b3b07d4b6ad3e45daa770effc9b64f839f3f59b5 Mon Sep 17 00:00:00 2001 From: ruru4143 Date: Tue, 1 Oct 2024 19:03:44 +0200 Subject: [PATCH] removed todo --- includes/activitypub/transformer/class-event.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/activitypub/transformer/class-event.php b/includes/activitypub/transformer/class-event.php index 67e7541..f1182a9 100644 --- a/includes/activitypub/transformer/class-event.php +++ b/includes/activitypub/transformer/class-event.php @@ -231,7 +231,6 @@ abstract class Event extends Post { * @return string $summary The custom event summary. */ public function get_summary(): ?string { - // todo when do we add the filter? we could add it and just keep it? add_filter( 'activitypub_object_content_template', array( self::class, 'remove_ap_permalink_from_template' ), 2, 2 ); $excerpt = $this->extract_excerpt(); // BeforeFirstRelease: decide whether this should be a admin setting.