Changeset 1800

Show
Ignore:
Timestamp:
10/14/04 14:22:40 (4 years ago)
Author:
donncha
Message:

Seperate enclosure URLs by 1 space, not 3.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/post.php

    r1797 r1800  
    380380 
    381381        // Enclosures 
    382         $enclosures = split( "   ", $enclosure_url ); 
     382        $enclosures = split( " ", $enclosure_url ); 
    383383        if( is_array( $enclosures ) ) { 
    384384            while( list( $key, $url ) = each( $enclosures ) ) { 
     
    391391                    $port    = 80; 
    392392                    $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); 
    395394                    if( $fp ) { 
    396                         // Send request for the page 
    397395                        fputs($fp, $headers ); 
    398  
    399                         // Get the response 
    400396                        $response = ''; 
    401397                        while (!feof($fp))