From f0d86cdb64341f937ff16e69a7ca6fc250921c66 Mon Sep 17 00:00:00 2001 From: Jean Baptiste Favre Date: Tue, 18 Sep 2012 16:20:10 +0200 Subject: [PATCH] Add 'twitter:title' meta tag support. --- actions/attachment.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actions/attachment.php b/actions/attachment.php index f805aa1fc3..090ad56f7a 100644 --- a/actions/attachment.php +++ b/actions/attachment.php @@ -136,6 +136,8 @@ class AttachmentAction extends Action null ); $this->element('meta', array('name' => 'twitter:image', 'content' => $this->attachment->url)); + $this->element('meta', array('name' => 'twitter:title', + 'content' => $this->attachment->title)); $ns = new AttachmentNoticeSection($this); $notices = $ns->getNotices();