{"id":240,"date":"2009-03-24T17:42:46","date_gmt":"2009-03-24T17:42:46","guid":{"rendered":"https:\/\/www.bishnet.net\/tim\/blog\/?p=240"},"modified":"2010-11-11T13:01:23","modified_gmt":"2010-11-11T13:01:23","slug":"broken-pingbacks-whats-to-blame","status":"publish","type":"post","link":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/","title":{"rendered":"Broken pingbacks &#8211; what&#8217;s to blame?"},"content":{"rendered":"<p>For a while I&#8217;ve been noticing a lack of pingbacks from people linking to me. At first I put it down to people just not linking to me, but then after discussions with a colleague today I realised I didn&#8217;t have that annoying problem of them happening when I link to my own posts. I tested further and realised they weren&#8217;t working at all.<\/p>\n<p>I debugged the issue using the good old &#8220;print debug messages all over the place&#8221; method &#8211; crude but effective. I started in xmlrpc.php and discovered that it was stopping at this line:<\/p>\n<blockquote><p><code>$comment_ID = wp_new_comment($commentdata);<\/code><\/p><\/blockquote>\n<p>This meant it was getting as far as trying to post the comment. It was then that I had a lightbulb moment. What would be stopping comments being posted? My <a href=\"https:\/\/www.bishnet.net\/tim\/blog\/2006\/04\/16\/an-end-to-comment-spam\/\">captcha to stop comment spam<\/a> (has it really been three years since I set that up?), that&#8217;s what!<\/p>\n<p>My colleague has been using a numerical captcha-style plugin called <a href=\"http:\/\/wordpress.org\/extend\/plugins\/math-comment-spam-protection\/\">Math Comment Spam Protection<\/a> (MCSP) instead. I did a quick comparison between it and the SecureImage plugin and fairly quickly found the difference. This is from the MCSP plugin:<\/p>\n<blockquote><p><code>if (\u00c2\u00a0 ( !isset($user_ID) ) &amp;&amp; ( $comment_data['comment_type'] == '' ) ) {<\/code><\/p>\n<p>\/\/ Do not check if the user is registered &amp; do not check trackbacks\/pingbacks<\/p><\/blockquote>\n<p>By comparison, the SecureImage plugin only checked if the user is registered:<\/p>\n<blockquote><p><code>\/\/ If the user is not logged in check the security code<\/code><\/p>\n<p>if ( !$user_ID ) {<\/p><\/blockquote>\n<p>The fix looks simple. But, given the lack of updates for SecureImage I decided it was time to move on. So now I have the MCSP plugin instead, and pingbacks are once again working.<\/p>\n<p>I just have one request to make. Can anyone who&#8217;s linked to me in the last three years please try again? \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For up to three years pingbacks on my blog have been broken. After finally noticing I track down the problem and find a fix.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[95,96,92,93,91,94,97],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-computing","tag-captcha","tag-comment-spam","tag-math-comment-spam-protection","tag-mcsp","tag-pingback","tag-secureimage","tag-spam"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"For up to three years pingbacks on my blog have been broken. After finally noticing I track down the problem and find a fix.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Tim Bishop\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Tim Bishop |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Broken pingbacks \u2013 what\u2019s to blame? | Tim Bishop\" \/>\n\t\t<meta property=\"og:description\" content=\"For up to three years pingbacks on my blog have been broken. After finally noticing I track down the problem and find a fix.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-03-24T17:42:46+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2010-11-11T13:01:23+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Broken pingbacks \u2013 what\u2019s to blame? | Tim Bishop\" \/>\n\t\t<meta name=\"twitter:description\" content=\"For up to three years pingbacks on my blog have been broken. After finally noticing I track down the problem and find a fix.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2009\\\/03\\\/24\\\/broken-pingbacks-whats-to-blame\\\/#article\",\"name\":\"Broken pingbacks \\u2013 what\\u2019s to blame? | Tim Bishop\",\"headline\":\"Broken pingbacks &#8211; what&#8217;s to blame?\",\"author\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2009\\\/03\\\/24\\\/broken-pingbacks-whats-to-blame\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tim Bishop\"},\"datePublished\":\"2009-03-24T17:42:46+00:00\",\"dateModified\":\"2010-11-11T13:01:23+00:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2009\\\/03\\\/24\\\/broken-pingbacks-whats-to-blame\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2009\\\/03\\\/24\\\/broken-pingbacks-whats-to-blame\\\/#webpage\"},\"articleSection\":\"Computing, captcha, comment spam, Math Comment Spam Protection, mcsp, pingback, SecureImage, spam\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2009\\\/03\\\/24\\\/broken-pingbacks-whats-to-blame\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/computing\\\/#listItem\",\"name\":\"Computing\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/computing\\\/#listItem\",\"position\":2,\"name\":\"Computing\",\"item\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/computing\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2009\\\/03\\\/24\\\/broken-pingbacks-whats-to-blame\\\/#listItem\",\"name\":\"Broken pingbacks &#8211; what&#8217;s to blame?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2009\\\/03\\\/24\\\/broken-pingbacks-whats-to-blame\\\/#listItem\",\"position\":3,\"name\":\"Broken pingbacks &#8211; what&#8217;s to blame?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/computing\\\/#listItem\",\"name\":\"Computing\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#person\",\"name\":\"Tim Bishop\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"Tim Bishop\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2009\\\/03\\\/24\\\/broken-pingbacks-whats-to-blame\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tim Bishop\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2009\\\/03\\\/24\\\/broken-pingbacks-whats-to-blame\\\/#webpage\",\"url\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2009\\\/03\\\/24\\\/broken-pingbacks-whats-to-blame\\\/\",\"name\":\"Broken pingbacks \\u2013 what\\u2019s to blame? | Tim Bishop\",\"description\":\"For up to three years pingbacks on my blog have been broken. After finally noticing I track down the problem and find a fix.\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2009\\\/03\\\/24\\\/broken-pingbacks-whats-to-blame\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2009-03-24T17:42:46+00:00\",\"dateModified\":\"2010-11-11T13:01:23+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/\",\"name\":\"Tim Bishop\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Broken pingbacks \u2013 what\u2019s to blame? | Tim Bishop","description":"For up to three years pingbacks on my blog have been broken. After finally noticing I track down the problem and find a fix.","canonical_url":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/#article","name":"Broken pingbacks \u2013 what\u2019s to blame? | Tim Bishop","headline":"Broken pingbacks &#8211; what&#8217;s to blame?","author":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tim Bishop"},"datePublished":"2009-03-24T17:42:46+00:00","dateModified":"2010-11-11T13:01:23+00:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/#webpage"},"isPartOf":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/#webpage"},"articleSection":"Computing, captcha, comment spam, Math Comment Spam Protection, mcsp, pingback, SecureImage, spam"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.bishnet.net\/tim\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/category\/computing\/#listItem","name":"Computing"}},{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/category\/computing\/#listItem","position":2,"name":"Computing","item":"https:\/\/www.bishnet.net\/tim\/blog\/category\/computing\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/#listItem","name":"Broken pingbacks &#8211; what&#8217;s to blame?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/#listItem","position":3,"name":"Broken pingbacks &#8211; what&#8217;s to blame?","previousItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/category\/computing\/#listItem","name":"Computing"}}]},{"@type":"Person","@id":"https:\/\/www.bishnet.net\/tim\/blog\/#person","name":"Tim Bishop"},{"@type":"Person","@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author","url":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/","name":"Tim Bishop","image":{"@type":"ImageObject","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tim Bishop"}},{"@type":"WebPage","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/#webpage","url":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/","name":"Broken pingbacks \u2013 what\u2019s to blame? | Tim Bishop","description":"For up to three years pingbacks on my blog have been broken. After finally noticing I track down the problem and find a fix.","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/#breadcrumblist"},"author":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author"},"datePublished":"2009-03-24T17:42:46+00:00","dateModified":"2010-11-11T13:01:23+00:00"},{"@type":"WebSite","@id":"https:\/\/www.bishnet.net\/tim\/blog\/#website","url":"https:\/\/www.bishnet.net\/tim\/blog\/","name":"Tim Bishop","inLanguage":"en-GB","publisher":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/#person"}}]},"og:locale":"en_GB","og:site_name":"Tim Bishop |","og:type":"article","og:title":"Broken pingbacks \u2013 what\u2019s to blame? | Tim Bishop","og:description":"For up to three years pingbacks on my blog have been broken. After finally noticing I track down the problem and find a fix.","og:url":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/","article:published_time":"2009-03-24T17:42:46+00:00","article:modified_time":"2010-11-11T13:01:23+00:00","twitter:card":"summary","twitter:title":"Broken pingbacks \u2013 what\u2019s to blame? | Tim Bishop","twitter:description":"For up to three years pingbacks on my blog have been broken. After finally noticing I track down the problem and find a fix."},"aioseo_meta_data":{"post_id":"240","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-11-11 09:57:24","updated":"2025-07-14 15:11:02","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bishnet.net\/tim\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bishnet.net\/tim\/blog\/category\/computing\/\" title=\"Computing\">Computing<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tBroken pingbacks \u2013 what\u2019s to blame?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.bishnet.net\/tim\/blog"},{"label":"Computing","link":"https:\/\/www.bishnet.net\/tim\/blog\/category\/computing\/"},{"label":"Broken pingbacks &#8211; what&#8217;s to blame?","link":"https:\/\/www.bishnet.net\/tim\/blog\/2009\/03\/24\/broken-pingbacks-whats-to-blame\/"}],"_links":{"self":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/comments?post=240"}],"version-history":[{"count":7,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/240\/revisions"}],"predecessor-version":[{"id":329,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/240\/revisions\/329"}],"wp:attachment":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/media?parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/categories?post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/tags?post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}