Don't do path thing for trackback URIs
git-svn-id: http://svn.automattic.com/wordpress/trunk@2168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e2e1028be1
commit
19b9dc09ae
|
@ -303,7 +303,7 @@ function comment_time( $d = '' ) {
|
|||
|
||||
function get_trackback_url() {
|
||||
global $id;
|
||||
$tb_url = get_settings('siteurl') . '/wp-trackback.php/' . $id;
|
||||
$tb_url = get_settings('siteurl') . '/wp-trackback.php?p=' . $id;
|
||||
|
||||
if ( '' != get_settings('permalink_structure') )
|
||||
$tb_url = trailingslashit(get_permalink()) . 'trackback/';
|
||||
|
|
Loading…
Reference in New Issue