From 6825bb69d94e870c983135d5e45210ec9784c00c Mon Sep 17 00:00:00 2001 From: joyqi Date: Wed, 11 Dec 2013 22:45:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3header=E7=9A=84plugin?= =?UTF-8?q?=E4=BC=9A=E5=86=B2=E6=8E=89=E5=A4=B4=E9=83=A8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- var/Widget/Archive.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/Widget/Archive.php b/var/Widget/Archive.php index 5c90456b..9d2c4a9d 100644 --- a/var/Widget/Archive.php +++ b/var/Widget/Archive.php @@ -1564,6 +1564,8 @@ class Widget_Archive extends Widget_Abstract_Contents $allows = array_merge($allows, $rules); } + $allows = $this->pluginHandle()->headerOptions($allows, $this); + $header = ''; if (!empty($allows['description'])) { $header .= '' . "\n"; @@ -1687,7 +1689,7 @@ var TypechoComment = { } /** 插件支持 */ - $header = $this->pluginHandle()->header($header, $this); + $this->pluginHandle()->header($header, $this); /** 输出header */ echo $header;