mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user