mirror of
https://github.com/typecho/typecho.git
synced 2025-03-20 01:49:40 +01:00
fix #1083
This commit is contained in:
parent
cc078d6f6a
commit
b80bce520c
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user