From b25231a35502e68c34addbede2e9d1c8a9e4c0a7 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Wed, 26 Jul 2023 19:16:36 +0200 Subject: [PATCH] Remove obsolete code https://github.com/Automattic/wordpress-activitypub/pull/370#issuecomment-1652053210 --- includes/transformer/class-post.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/includes/transformer/class-post.php b/includes/transformer/class-post.php index 6f1fed3..e9453dc 100644 --- a/includes/transformer/class-post.php +++ b/includes/transformer/class-post.php @@ -28,13 +28,6 @@ class Post { */ protected $wp_post; - /** - * Attachment images, used in the content. - * - * @var array - */ - protected $attachments = array(); - /** * The Allowed Tags, used in the content. * @@ -253,8 +246,6 @@ class Post { } } - $this->attachments = $images; - return $images; }