Opened 18 years ago
Closed 17 years ago
#2819 closed defect (bug) (wontfix)
Trackback fails on pages
Reported by: | nigelkane | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0.2 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
When on a page, the trackback link does not work as it assumes a p= in the URL.
In comment-functions.php (lines 509 - 517) of WP 2.0.2, get_trackback_url needs and adjustment. The following line:
$tb_url = get_settings('siteurl') . '/wp-trackback.php?p=' . $id;
should be wrapped with something like
if(is_page()) { $tb_url = get_settings('siteurl') . '/wp-trackback.php?page_id=' . $id; } else { $tb_url = get_settings('siteurl') . '/wp-trackback.php?p=' . $id; }
Note: See
TracTickets for help on using
tickets.
No traction in almost a year, so closing as wontfix.
Feel free to re-open it if you have additional information/suggestions/patches/...