Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#14902 reviewing defect (bug)

weblogUpdates.extendedPing does not implement standard

Reported by: Scott Schram Owned by: josephscott
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.0.1
Component: Pings/Trackbacks Keywords: xmlrpc ping pingomatic
Focuses: Cc:


When a blog post is published or updated, Update Services are notified if they are listed in the Wordpress Writing Settings panel.

The services are notified by the weblog_ping() function in comment.php

That function first attempts an XMLRPC call to the service's weblogUpdates.extendedPing. If that fails, it attempts to notify weblogUpdates.ping.

if ( !$client->query('weblogUpdates.extendedPing', get_option('blogname'), $home, get_bloginfo('rss2_url') ) ) then try a normal ping

$client->query('weblogUpdates.ping', get_option('blogname'), $home);

1) The weblogUpdates.extendedPing does not match the published standard.



Where 5 parameters are specified:

  • Name of site
  • URL of site
  • URL of the page to be checked for changes
  • URL of RSS, RDF, or Atom feed
  • Optional a name (or "tag") categorizing your site content. You may delimit multiple values by using the '|' character.

The third parameter should be the page to be checked for changes, and not the RSS feed.

No 4th or 5th parameter is passed.

2) The weblogUpdates.extendedPing does not take advantage of notifying the service of the exact page that changed (as is provided in the standard)

If implemented correctly, this would allow the receiving service (perhaps a search engine) to come directly to the correct page for re-indexing, instead of trying to figure it out from the RSS feed.

I am unable to find if pingomatic.com publishes a competing version of the standard.

Change History (2)

comment:1 Scott Schram4 years ago

Notifying the receiving service of the changedURL would allow (for example) a service that sends SMS or email messages to interested parties about which pages that have been changed on their site.

comment:2 markjaquith3 years ago

  • Owner set to josephscott
  • Status changed from new to reviewing
Note: See TracTickets for help on using tickets.