From: Jean Baptiste Favre Date: Tue, 18 Sep 2012 14:20:10 +0000 (+0200) Subject: Add 'twitter:title' meta tag support. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f0d86cdb64341f937ff16e69a7ca6fc250921c66;p=quix0rs-gnu-social.git Add 'twitter:title' meta tag support. --- 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();