Add trackback_url filter. Props jhodgdon. fixes #4032
git-svn-id: https://develop.svn.wordpress.org/trunk@5116 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8fd1367323
commit
9de70f4145
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue