Don't double encode ping/trackbacks. Props reinkim. fixes #7844

git-svn-id: https://develop.svn.wordpress.org/trunk@9292 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-10-22 22:48:14 +00:00
parent 837b1b51bc
commit 9415f1fa2a
1 changed files with 4 additions and 4 deletions

View File

@ -1358,10 +1358,10 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
$options = array(); $options = array();
$options['timeout'] = 4; $options['timeout'] = 4;
$options['body'] = array( $options['body'] = array(
'title' => urlencode($title), 'title' => $title,
'url' => urlencode(get_permalink($ID)), 'url' => get_permalink($ID),
'blog_name' => urlencode(get_option('blogname')), 'blog_name' => get_option('blogname'),
'excerpt' => urlencode($excerpt) 'excerpt' => $excerpt
); );
$response = wp_remote_post($trackback_url, $options); $response = wp_remote_post($trackback_url, $options);