Temporarily suspended pingback fetching until it's implemented with a config option to prevent abuse
This commit is contained in:
parent
f1d61d5822
commit
300525e7b5
@ -386,7 +386,8 @@ function add_pingback ($id, $postdata) {
|
|||||||
$comment['url'] = $sourceURI;
|
$comment['url'] = $sourceURI;
|
||||||
$comment['comment'] = '';
|
$comment['comment'] = '';
|
||||||
$comment['name'] = $path['host'];
|
$comment['name'] = $path['host'];
|
||||||
fetchPingbackData($comment);
|
#Temporarily disabled until made configurable
|
||||||
|
#fetchPingbackData($comment);
|
||||||
|
|
||||||
// if no ID parameter was given, try to get one from targetURI
|
// if no ID parameter was given, try to get one from targetURI
|
||||||
if (!isset($id) || $id==0) {
|
if (!isset($id) || $id==0) {
|
||||||
@ -405,7 +406,8 @@ function add_pingback ($id, $postdata) {
|
|||||||
$comment['url'] = $remote;
|
$comment['url'] = $remote;
|
||||||
$comment['comment'] = '';
|
$comment['comment'] = '';
|
||||||
$comment['name'] = $path['host'];
|
$comment['name'] = $path['host'];
|
||||||
fetchPingbackData($comment);
|
#Temporarily disabled until made configurable
|
||||||
|
#fetchPingbackData($comment);
|
||||||
|
|
||||||
// if no ID parameter was given, try to get one from targetURI
|
// if no ID parameter was given, try to get one from targetURI
|
||||||
if (!isset($id) || $id==0) {
|
if (!isset($id) || $id==0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user