updated plugin ActivityPub version 9.1.0

This commit is contained in:
2026-07-28 15:03:10 +00:00
committed by Gitium
parent bf428f0e45
commit ff806e1811
217 changed files with 6098 additions and 3025 deletions

View File

@ -16,6 +16,10 @@ namespace Activitypub\Transformer;
* Currently supported are:
*
* - Activitypub\Activity\Base_Object
*
* Redaction is inherited from {@see Post::is_redacted()}: `is_post_publicly_queryable()`
* already resolves an attachment's own visibility, password, post-type support, and — for
* attached media — its parent's visibility, so no attachment-specific override is needed.
*/
class Attachment extends Post {
/**
@ -42,7 +46,7 @@ class Attachment extends Post {
$attachment = array(
'type' => $type,
'url' => wp_get_attachment_url( $this->item->ID ),
'url' => \wp_get_attachment_url( $this->item->ID ),
'mediaType' => $mime_type,
);