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:
parent
be3e9aa826
commit
5520239138
|
@ -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