save source id
This commit is contained in:
parent
246c868b4b
commit
a29dc2ec1b
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ class Create {
|
||||||
'comment_author_email' => '',
|
'comment_author_email' => '',
|
||||||
'comment_parent' => 0,
|
'comment_parent' => 0,
|
||||||
'comment_meta' => array(
|
'comment_meta' => array(
|
||||||
|
'source_id' => \esc_url_raw( $activity['object']['id'] ),
|
||||||
'source_url' => \esc_url_raw( $activity['object']['url'] ),
|
'source_url' => \esc_url_raw( $activity['object']['url'] ),
|
||||||
'avatar_url' => \esc_url_raw( $meta['icon']['url'] ),
|
'avatar_url' => \esc_url_raw( $meta['icon']['url'] ),
|
||||||
'protocol' => 'activitypub',
|
'protocol' => 'activitypub',
|
||||||
|
|
Loading…
Reference in a new issue