Changeset 638 for trunk/wp-includes/functions.php
- Timestamp:
- 12/22/2003 03:26:31 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r636 r638 1038 1038 // Step 1 1039 1039 // Parsing the post, external links (if any) are stored in the $post_links array 1040 // This regexp comes straig thfrom phpfreaks.com1040 // This regexp comes straight from phpfreaks.com 1041 1041 // http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php 1042 1042 preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp); … … 1090 1090 1091 1091 // Send the GET request 1092 $request = "GET $path HTTP/1.1\r\nHost: $host\r\nUser-Agent: b2/$wp_version PHP/" . phpversion() . "\r\n\r\n";1092 $request = "GET $path HTTP/1.1\r\nHost: $host\r\nUser-Agent: WordPress/$wp_version PHP/" . phpversion() . "\r\n\r\n"; 1093 1093 ob_end_flush(); 1094 1094 fputs($fp, $request); … … 1158 1158 debug_fwrite($log, 'Page Linked To: '.$pagelinkedto."\n"); 1159 1159 debug_fwrite($log, 'Page Linked From: '); 1160 $pagelinkedfrom = $siteurl.'/'.$blogfilename.'?p='.$post_ID.'&c=1';1160 $pagelinkedfrom = get_permalink($post_ID); 1161 1161 debug_fwrite($log, $pagelinkedfrom."\n"); 1162 1162
Note: See TracChangeset
for help on using the changeset viewer.