From 71ec9fdd9893ad429898dd5a6a0b5d1d1ed481c6 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 24 Apr 2012 02:04:51 +0200 Subject: [PATCH] Tumblr: The video export now shows the title --- tumblr/tumblr.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tumblr/tumblr.php b/tumblr/tumblr.php index 42518c05..650e0b18 100755 --- a/tumblr/tumblr.php +++ b/tumblr/tumblr.php @@ -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'] = '

'.$b['title']."

".bbcode($body); + else + $params['caption'] = bbcode($body); } else if (($link != '') and !$video) { $params['type'] = "link"; $params['name'] = $b['title'];