From 9de70f4145e726c02b49952036182337c98ce8d6 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 26 Mar 2007 23:40:49 +0000 Subject: [PATCH] Add trackback_url filter. Props jhodgdon. fixes #4032 git-svn-id: https://develop.svn.wordpress.org/trunk@5116 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 0c16240449..f506c1ac05 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -228,7 +228,7 @@ function get_trackback_url() { if ( '' != get_option('permalink_structure') ) $tb_url = trailingslashit(get_permalink()) . user_trailingslashit('trackback', 'single_trackback'); - return $tb_url; + return apply_filters('trackback_url', $tb_url); } function trackback_url( $display = true ) { if ( $display)