Add native quotes to the upon posting

This commit is contained in:
Michael 2022-10-29 22:14:12 +00:00 committed by Hypolite Petovan
parent 9f3cbad14f
commit 2de97487f3
9 changed files with 9 additions and 9 deletions

View file

@ -172,7 +172,7 @@ function wppost_send(App $a, array &$b)
return;
}
$b['body'] = Post\Media::addAttachmentsToBody($b['uri-id'], $b['body']);
$b['body'] = Post\Media::addAttachmentsToBody($b['uri-id'], DI::contentItem()->addSharedPost($b));
$wp_username = XML::escape(DI::pConfig()->get($b['uid'], 'wppost', 'wp_username'));
$wp_password = XML::escape(DI::pConfig()->get($b['uid'], 'wppost', 'wp_password'));