diff --git a/var/Widget/Service.php b/var/Widget/Service.php index c45c07b6..73d7d810 100644 --- a/var/Widget/Service.php +++ b/var/Widget/Service.php @@ -131,8 +131,9 @@ class Widget_Service extends Widget_Abstract_Options implements Widget_Interface } /** 发送trackback */ - if ($post->have() && !empty($this->request->getArray('trackback'))) { - $links = $this->request->getArray('trackback'); + if ($post->have() && !empty($this->request->trackback)) { + $links = array_filter(array_map('trim', explode("\n", $this->request->trackback))); + foreach ($links as $url) { $client = Typecho_Http_Client::get();