Make WordPress Core

Changeset 2572


Ignore:
Timestamp:
04/22/2005 09:17:10 PM (19 years ago)
Author:
matt
Message:

Extended ping support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r2568 r2572  
    651651    $client->debug = false;
    652652    $home = trailingslashit( get_option('home') );
    653     $client->query('weblogUpdates.ping', get_settings('blogname'), $home);
     653    if ( !$client->query('weblogUpdates.extendedPing', get_settings('blogname'), $home, get_bloginfo('rss2_url') ) ) // then try a normal ping
     654        $client->query('weblogUpdates.ping', get_settings('blogname'), $home);
    654655}
    655656
Note: See TracChangeset for help on using the changeset viewer.