WordPress.org

Make WordPress Core

Ticket #4790: trackback-redirect.diff

File trackback-redirect.diff, 390 bytes (added by joostdevalk, 7 years ago)

Patch

  • wp-trackback.php

     
    6262 
    6363if (empty($title) && empty($tb_url) && empty($blog_name)) { 
    6464        // If it doesn't look like a trackback at all... 
    65         wp_redirect(get_permalink($tb_id)); 
     65        wp_redirect(get_permalink($tb_id),301); 
    6666        exit; 
    6767} 
    6868