{"id":727,"date":"2007-02-14T09:49:35-05:00","date_gmt":"2007-02-14T14:49:35+00:00","guid":{"rendered":"http:\/\/peterjanes.ca\/blog\/2007\/02\/14\/wordpress-extendedping-bug\/"},"modified":"2007-02-14T10:00:42-05:00","modified_gmt":"2007-02-14T15:00:42+00:00","slug":"wordpress-extendedping-bug","status":"publish","type":"post","link":"https:\/\/peterjanes.ca\/blog\/2007\/02\/14\/wordpress-extendedping-bug\/","title":{"rendered":"WordPress extendedPing&nbsp;bug?"},"content":{"rendered":"<div class='e-content'><p>According to the <a href=\"http:\/\/www.weblogs.com\/api.html\">weblogs.com XMLRPC ping API<\/a>, the parameters to <code>weblogUpdates.extendedPing<\/code> are as follows, in order:<\/p>\r\n\r\n<ul>\r\n<li>name of site<\/li>\r\n<li>URL of site or RSS feed<\/li>\r\n<li>the url of the page to be checked for changes<\/li>\r\n<li>the URL of an RSS, RDF, or Atom feed<\/li>\r\n<li>a name (or &#8220;tag&#8221;) categorizing your site content (optional)<\/li>\r\n<\/ul>\r\n\r\n<p>However, WordPress sends only three parameters: site name, site URL, and RSS URL.  This can be seen below:<\/p>\r\n\r\n<pre><code>$client-&gt;query('weblogUpdates.extendedPing', get_option('blogname'), $home, get_bloginfo('rss2_url') )<\/code><\/pre>\r\n\r\n<p>In other words, the <q>page to be checked for changes<\/q> (which most software fills with the new or updated permalink) is instead filled with the feed URL, and the feed URL is not provided at all.<\/p>\r\n\r\n<p>This bit of code seems to be in all recent versions of WordPress; <a href=\"http:\/\/cvs.sourceforge.net\/viewcvs.py\/cafelog\/wordpress\/b2-include\/Attic\/b2functions.php?rev=1.66\">b2<\/a> was apparently okay.  I&#8217;ve only been able to find <a href=\"http:\/\/svn.bitflux.ch\/repos\/public\/pinghub\/index.php\">one page<\/a> that even suggests it&#8217;s a bug.  Have all of the ping services out there just accepted this and worked around it?  Or does WordPress wind up sending two pings (a failed <code>extendedPing<\/code> followed by a normal two-parameter <code>ping<\/code>) for every attempt?<\/p><\/div><div class=\"syndication-links\"><\/div>","protected":false},"excerpt":{"rendered":"According to the weblogs.com XMLRPC ping API, the parameters to weblogUpdates.extendedPing are as follows, in order: name of site URL of site or RSS feed the url of the page to be checked for changes the URL of an RSS, RDF, or Atom feed a name (or &#8220;tag&#8221;) categorizing your site content (optional) However, WordPress&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":[],"venue_id":0},"categories":[3],"tags":[],"kind":false,"_links":{"self":[{"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/posts\/727"}],"collection":[{"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/comments?post=727"}],"version-history":[{"count":0,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/posts\/727\/revisions"}],"wp:attachment":[{"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/media?parent=727"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/categories?post=727"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/tags?post=727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}