Changeset 4048 for branches/2.0/wp-includes/functions.php
- Timestamp:
- 07/26/2006 05:45:19 PM (20 years ago)
- File:
-
- 1 edited
-
branches/2.0/wp-includes/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-includes/functions.php
r4036 r4048 997 997 998 998 function spawn_pinger() { 999 global $wpdb ;999 global $wpdb, $wp_version; 1000 1000 $doping = false; 1001 1001 if ( $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE TRIM(to_ping) != '' LIMIT 1") ) … … 1013 1013 $argyle = @ fsockopen($parts['host'], $_SERVER['SERVER_PORT'], $errno, $errstr, 0.01); 1014 1014 if ( $argyle ) 1015 fputs($argyle, "GET {$parts['path']}?time=".time()." HTTP/1.0\r\nHost: {$_SERVER['HTTP_HOST']}\r\n \r\n");1015 fputs($argyle, "GET {$parts['path']}?time=".time()." HTTP/1.0\r\nHost: {$_SERVER['HTTP_HOST']}\r\nUser-Agent: WordPress/{$wp_version}\r\n\r\n"); 1016 1016 } 1017 1017 }
Note:
See TracChangeset
for help on using the changeset viewer.