Make WordPress Core

Changeset 1231


Ignore:
Timestamp:
05/05/2004 08:07:16 AM (20 years ago)
Author:
saxmatt
Message:

Allow ? in trackback URIs.

File:
1 edited

Legend:

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

    r1227 r1231  
    552552    $query_string = "title=$title&url=$url&blog_name=$blog_name&excerpt=$excerpt";
    553553    $trackback_url = parse_url($trackback_url);
    554     $http_request  = 'POST '.$trackback_url['path']." HTTP/1.0\r\n";
     554    $http_request  = 'POST ' . $trackback_url['path'] . $trackback_url['query'] . " HTTP/1.0\r\n";
    555555    $http_request .= 'Host: '.$trackback_url['host']."\r\n";
    556556    $http_request .= 'Content-Type: application/x-www-form-urlencoded'."\r\n";
Note: See TracChangeset for help on using the changeset viewer.