bug in wordpress
-
I don’t seem to be able to stick this anyplace else.
In comment-functions.php (lines 509 – 517) of WP 2.0.2, get_trackback_url does not work correctly whne trying to track back on a page.
$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;
}
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘bug in wordpress’ is closed to new replies.