mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 09:57:38 +01:00
Don't double encode ping/trackbacks. Props reinkim. fixes #7844
git-svn-id: http://svn.automattic.com/wordpress/trunk@9292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
408600ce58
commit
729539ef94
@ -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