Make WordPress Core


Ignore:
Timestamp:
09/07/2004 03:15:48 AM (22 years ago)
Author:
saxmatt
Message:

Trackback fix from Michael Dale.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r1616 r1617  
    560560        $http_request .= "\r\n";
    561561        $http_request .= $query_string;
    562         $fs = @fsockopen($trackback_url['host'], 80);
     562        if ( '' == $trackback_url['port'] )
     563                $trackback_url['port'] = 80;
     564        $fs = @fsockopen($trackback_url['host'], $trackback_url['port']);
    563565        @fputs($fs, $http_request);
    564566/*
Note: See TracChangeset for help on using the changeset viewer.