Changeset 1800
- Timestamp:
- 10/14/04 14:22:40 (4 years ago)
- Files:
-
- trunk/wp-admin/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/post.php
r1797 r1800 380 380 381 381 // Enclosures 382 $enclosures = split( " ", $enclosure_url );382 $enclosures = split( " ", $enclosure_url ); 383 383 if( is_array( $enclosures ) ) { 384 384 while( list( $key, $url ) = each( $enclosures ) ) { … … 391 391 $port = 80; 392 392 $timeout = 3; 393 // Open a socket connection to the host 394 $fp = fsockopen($host, $port, $err_num, $err_msg, $timeout); 393 $fp = fsockopen($host, $port, &$err_num, &$err_msg, $timeout); 395 394 if( $fp ) { 396 // Send request for the page397 395 fputs($fp, $headers ); 398 399 // Get the response400 396 $response = ''; 401 397 while (!feof($fp))
