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:
parent
837b1b51bc
commit
9415f1fa2a
@ -1358,10 +1358,10 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
|
||||
$options = array();
|
||||
$options['timeout'] = 4;
|
||||
$options['body'] = array(
|
||||
'title' => urlencode($title),
|
||||
'url' => urlencode(get_permalink($ID)),
|
||||
'blog_name' => urlencode(get_option('blogname')),
|
||||
'excerpt' => urlencode($excerpt)
|
||||
'title' => $title,
|
||||
'url' => get_permalink($ID),
|
||||
'blog_name' => get_option('blogname'),
|
||||
'excerpt' => $excerpt
|
||||
);
|
||||
|
||||
$response = wp_remote_post($trackback_url, $options);
|
||||
|
Loading…
Reference in New Issue
Block a user