WordPress.org

Make WordPress Core

Ticket #14902: 14902.patch

File 14902.patch, 709 bytes (added by shaunmza, 7 years ago)

Added missing parameter

  • wp-includes/comment.php

     
    25452545        // when set to true, this outputs debug messages by itself
    25462546        $client->debug = false;
    25472547        $home = trailingslashit( home_url() );
    2548         if ( !$client->query('weblogUpdates.extendedPing', get_option('blogname'), $home, get_bloginfo('rss2_url') ) ) // then try a normal ping
     2548        if ( !$client->query('weblogUpdates.extendedPing', get_option('blogname'), $home, get_permalink(), get_bloginfo('rss2_url') ) ) // then try a normal ping
    25492549                $client->query('weblogUpdates.ping', get_option('blogname'), $home);
    25502550}
    25512551