Add trackback_url filter. Props jhodgdon. fixes #4032

git-svn-id: http://svn.automattic.com/wordpress/trunk@5116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-03-26 23:40:49 +00:00
parent be3e9aa826
commit 5520239138
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ function get_trackback_url() {
if ( '' != get_option('permalink_structure') ) if ( '' != get_option('permalink_structure') )
$tb_url = trailingslashit(get_permalink()) . user_trailingslashit('trackback', 'single_trackback'); $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 ) { function trackback_url( $display = true ) {
if ( $display) if ( $display)