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

@ -66,7 +66,7 @@ class Activity_Object extends Base {
*
* @return array The filtered mentions.
*/
return apply_filters(
return \apply_filters(
'activitypub_extract_mentions',
array(),
$this->item->get_content() . ' ' . $this->item->get_summary(),
@ -145,7 +145,7 @@ class Activity_Object extends Base {
foreach ( $mentions as $mention => $url ) {
$tag = array(
'type' => 'Mention',
'href' => \esc_url( $url ),
'href' => \esc_url_raw( $url ),
'name' => \esc_html( $mention ),
);
$tags[] = $tag;