updated plugin ActivityPub version 8.3.0

This commit is contained in:
2026-06-03 21:28:46 +00:00
committed by Gitium
parent a4b78ec277
commit 6fe182458a
340 changed files with 43232 additions and 7568 deletions

View File

@ -8,6 +8,8 @@
use Activitypub\Collection\Actors;
use Activitypub\Embed;
use function Activitypub\site_supports_blocks;
/* @var array $args Template arguments. */
$args = wp_parse_args( $args ?? array() );
@ -46,11 +48,13 @@ require __DIR__ . '/parts/header.php';
?>
</div>
<?php if ( site_supports_blocks() && ! is_plugin_active( 'classic-editor/classic-editor.php' ) ) : ?>
<p>
<a class="button" href="<?php echo esc_url( admin_url( 'post-new.php?in_reply_to=' . $args['activity']['object']['id'] ) ); ?>">
<?php esc_html_e( 'Reply to the post', 'activitypub' ); ?>
</a>
</p>
<?php endif; ?>
<?php
/**