WordPress.org

Make WordPress Core

Ticket #4289: 4289.diff

File 4289.diff, 721 bytes (added by mdawaffe, 11 years ago)
  • wp-includes/comment.php

     
    730730                        // when set to true, this outputs debug messages by itself
    731731                        $client->debug = false;
    732732
    733                         if ( $client->query('pingback.ping', $pagelinkedfrom, $pagelinkedto ) )
     733                        if ( $client->query('pingback.ping', $pagelinkedfrom, $pagelinkedto) || ( isset($client->error->code) && 48 == $client->error->code ) ) // Already registered
    734734                                add_ping( $post_ID, $pagelinkedto );
    735735                }
    736736        }
     
    793793                $client->query('weblogUpdates.ping', get_option('blogname'), $home);
    794794}
    795795
    796 ?>
    797  No newline at end of file
     796?>