Consistent use or disuse of trailing slashes in URLs according to user preference. props MathiasBynens. fixes #1485

git-svn-id: https://develop.svn.wordpress.org/trunk@4886 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2007-02-15 07:07:12 +00:00
parent d38a3f7777
commit 5164d38cb5
5 changed files with 35 additions and 14 deletions

View File

@@ -226,7 +226,7 @@ function get_trackback_url() {
$tb_url = get_option('siteurl') . '/wp-trackback.php?p=' . $id;
if ( '' != get_option('permalink_structure') )
$tb_url = trailingslashit(get_permalink()) . 'trackback/';
$tb_url = trailingslashit(get_permalink()) . user_trailingslashit('trackback');
return $tb_url;
}