Changeset 2457 for trunk/wp-includes/functions.php
- Timestamp:
- 03/18/2005 03:48:30 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r2456 r2457 577 577 578 578 function weblog_ping($server = '', $path = '') { 579 580 579 global $wp_version; 581 580 include_once (ABSPATH . WPINC . '/class-IXR.php'); … … 590 589 $home = trailingslashit( get_option('home') ); 591 590 $client->query('weblogUpdates.ping', get_settings('blogname'), $home); 592 593 591 } 594 592 … … 609 607 // Send a Trackback 610 608 function trackback($trackback_url, $title, $excerpt, $ID) { 611 global $wpdb ;609 global $wpdb, $wp_version; 612 610 $title = urlencode($title); 613 611 $excerpt = urlencode($excerpt); … … 621 619 $http_request .= 'Content-Type: application/x-www-form-urlencoded; charset='.get_settings('blog_charset')."\r\n"; 622 620 $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; 624 622 $http_request .= "\r\n\r\n"; 625 623 $http_request .= $query_string;
Note: See TracChangeset
for help on using the changeset viewer.