updated plugin ActivityPub version 8.3.0
This commit is contained in:
20
wp-content/plugins/activitypub/build/following/render.php
Normal file
20
wp-content/plugins/activitypub/build/following/render.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* Server-side rendering of the following block.
|
||||
*
|
||||
* @package Activitypub
|
||||
*/
|
||||
|
||||
use Activitypub\Blocks;
|
||||
|
||||
/* @var array $attributes Block attributes. */
|
||||
$attributes = $attributes ?? array();
|
||||
|
||||
/* @var WP_Block $block Current block. */
|
||||
$block = $block ?? null;
|
||||
|
||||
/* @var string $content Block content. */
|
||||
$content = $content ?? '';
|
||||
|
||||
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output is escaped in render method.
|
||||
echo Blocks::render_actor_list_block( 'following', $attributes, $block, $content );
|
||||
Reference in New Issue
Block a user