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

@ -13,9 +13,7 @@ if ( isset( $_SERVER['HTTP_ACCEPT'] ) ) {
// phpcs:ignore WordPress.Security.ValidatedSanitizedInput
$accept = strtolower( $_SERVER['HTTP_ACCEPT'] );
if ( str_contains( $accept, 'text/html' ) ) {
$representation = 'html';
} elseif (
if (
str_contains( $accept, 'application/json' ) ||
str_contains( $accept, 'application/activity+json' ) ||
str_contains( $accept, 'application/ld+json' )