Merge pull request #370 from Automattic/fix/php82-dynamic-properties-post
Compat: avoid PHP notices when using PHP 8.2
This commit is contained in:
commit
35f7b6ab8e
2 changed files with 1 additions and 2 deletions
|
@ -246,8 +246,6 @@ class Post {
|
|||
}
|
||||
}
|
||||
|
||||
$this->attachments = $images;
|
||||
|
||||
return $images;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 =
|
||||
|
||||
|
|
Loading…
Reference in a new issue