I have implemented my own pingback client and sent out pingbacks to different hosts.
Some wordpress instances responded to the XML-RPC pingback request with a faultCode
of 0
and an empty faultMessage
.
What can be the cause for that?
I have implemented my own pingback client and sent out pingbacks to different hosts.
Some wordpress instances responded to the XML-RPC pingback request with a faultCode
of 0
and an empty faultMessage
.
What can be the cause for that?
Comments are closed.
For some reason, the default filter attached to pingback errors, will not send an error message unless the error code is 48. From
wp-includes/commment.php
:The standard WordPress source only contains a single pingback error call with a faultCode of 0 and an empty message, in
wp-includes/class-wp-xmlrpc-server.php
:So the error can happen when the post cannot be determined from the URL and there is a fragment/anchor (
#foo
) at the end of the URL. That fragment is interpreted as title and the posts table is searched for a post with exact this title.Unfortunately, this can’t be the reason in my case since I don’t have anchors in the URLs.