Make WordPress Core


Ignore:
Timestamp:
03/18/2005 03:48:30 PM (21 years ago)
Author:
matt
Message:

Missing UA - http://mosquito.wordpress.org/view.php?id=1086

File:
1 edited

Legend:

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

    r2456 r2457  
    577577
    578578function weblog_ping($server = '', $path = '') {
    579 
    580579    global $wp_version;
    581580    include_once (ABSPATH . WPINC . '/class-IXR.php');
     
    590589    $home = trailingslashit( get_option('home') );
    591590    $client->query('weblogUpdates.ping', get_settings('blogname'), $home);
    592 
    593591}
    594592
     
    609607// Send a Trackback
    610608function trackback($trackback_url, $title, $excerpt, $ID) {
    611     global $wpdb;
     609    global $wpdb, $wp_version;
    612610    $title = urlencode($title);
    613611    $excerpt = urlencode($excerpt);
     
    621619    $http_request .= 'Content-Type: application/x-www-form-urlencoded; charset='.get_settings('blog_charset')."\r\n";
    622620    $http_request .= 'Content-Length: '.strlen($query_string)."\r\n";
    623     $http_request .= "User-Agent: WordPress/" . get_settings('version');
     621    $http_request .= "User-Agent: WordPress/" . $wp_version;
    624622    $http_request .= "\r\n\r\n";
    625623    $http_request .= $query_string;
Note: See TracChangeset for help on using the changeset viewer.