diff --git a/includes/transformer/class-post.php b/includes/transformer/class-post.php index 69dcf89..e9453dc 100644 --- a/includes/transformer/class-post.php +++ b/includes/transformer/class-post.php @@ -246,8 +246,6 @@ class Post { } } - $this->attachments = $images; - return $images; } diff --git a/readme.txt b/readme.txt index 1ef8890..1c90107 100644 --- a/readme.txt +++ b/readme.txt @@ -124,6 +124,7 @@ Project maintained on GitHub at [automattic/wordpress-activitypub](https://githu * Compatibility: add a new conditional, `\Activitypub\is_activitypub_request()`, to allow third-party plugins to detect ActivityPub requests. * Compatibility: add hooks to allow modifying images returned in ActivityPub requests. * Compatibility: indicate that the plugin is compatible and has been tested with the latest version of WordPress, 6.2. +* Compatibility: avoid PHP notice on sites using PHP 8.2. = 0.17.0 =