diff --git a/includes/client/posts.php b/includes/client/posts.php index c80b38d..9cb1a3f 100644 --- a/includes/client/posts.php +++ b/includes/client/posts.php @@ -52,7 +52,7 @@ function post_to_object( $post ) { ENT_QUOTES, 'UTF-8' ); - $summary = $summary . '

' . $permalink; + $summary = "$summary

$permalink"; } $matches = array(); if ( preg_match( '/(.+)__trashed\/$/', $permalink, $matches ) ) { @@ -60,7 +60,7 @@ function post_to_object( $post ) { } $object = array( '@context' => array( 'https://www.w3.org/ns/activitystreams' ), - 'type' => 'Article', + 'type' => 'Note', 'name' => $post->post_title, 'content' => $summary, 'attributedTo' => get_rest_url(