Bugfix in wppost, improvement in libertree export and changes in statusnet and twitter #62
1 changed files with 4 additions and 1 deletions
|
@ -201,7 +201,10 @@ function tumblr_send(&$a,&$b) {
|
|||
if (($link != '') and $video) {
|
||||
$params['type'] = "video";
|
||||
$params['embed'] = $link;
|
||||
$params['caption'] = bbcode($body);
|
||||
if ($b['title'] != '')
|
||||
$params['caption'] = '<p><strong><a href="'.$link.'">'.$b['title']."</a></strong></p>".bbcode($body);
|
||||
else
|
||||
$params['caption'] = bbcode($body);
|
||||
} else if (($link != '') and !$video) {
|
||||
$params['type'] = "link";
|
||||
$params['name'] = $b['title'];
|
||||
|
|
Loading…
Reference in a new issue