WordPress.org

Make WordPress Core

Ticket #7844: trackback.patch

File trackback.patch, 636 bytes (added by reinkim, 10 years ago)

Patch for wp-includes/comments.php

  • wp-includes/comment.php

     
    13101310        $options = array();
    13111311        $options['timeout'] = 4;
    13121312        $options['body'] = array(
    1313                 'title' => urlencode($title),
    1314                 'url' => urlencode(get_permalink($ID)),
    1315                 'blog_name' => urlencode(get_option('blogname')),
    1316                 'excerpt' => urlencode($excerpt)
     1313                'title' => $title,
     1314                'url' => get_permalink($ID),
     1315                'blog_name' => get_option('blogname'),
     1316                'excerpt' => $excerpt
    13171317        );
    13181318
    13191319        $response = wp_remote_post($trackback_url, $options);