Remove media to avoid duplicated images
This commit is contained in:
parent
82376e4f17
commit
888dec1593
|
@ -359,6 +359,7 @@ function tumblr_send(array &$b)
|
||||||
];
|
];
|
||||||
|
|
||||||
$body = BBCode::removeShareInformation($b['body']);
|
$body = BBCode::removeShareInformation($b['body']);
|
||||||
|
$body = Post\Media::removeFromEndOfBody($body);
|
||||||
|
|
||||||
if ($photo !== false) {
|
if ($photo !== false) {
|
||||||
$params['type'] = 'photo';
|
$params['type'] = 'photo';
|
||||||
|
|
Loading…
Reference in a new issue