Make WordPress Core

Ticket #4032: comment-template-php.diff

File comment-template-php.diff, 609 bytes (added by jhodgdon, 18 years ago)

Adds filter to get_trackback_url function

  • E:/EclipseWork/WordPressDev/wp-includes/comment-template.php

     
    228228        if ( '' != get_option('permalink_structure') )
    229229                $tb_url = trailingslashit(get_permalink()) . user_trailingslashit('trackback', 'single_trackback');
    230230
    231         return $tb_url;
     231        return apply_filters('trackback_url', $tb_url);
    232232}
    233233function trackback_url( $display = true ) {
    234234        if ( $display)