updated plugin ActivityPub version 0.17.0

This commit is contained in:
2023-03-17 22:33:51 +00:00
committed by Gitium
parent c8c48cf7f9
commit e8a66564bd
23 changed files with 1177 additions and 791 deletions

View File

@ -19,6 +19,8 @@ $json->icon = array(
'url' => \get_avatar_url( $author_id, array( 'size' => 120 ) ),
);
$json->published = \gmdate( 'Y-m-d\TH:i:s\Z', \strtotime( \get_the_author_meta( 'registered', $author_id ) ) );
if ( \has_header_image() ) {
$json->image = array(
'type' => 'Image',