Here's my patch:

function trackback_page($nid = null) {
if (is_numeric($nid)) {
$node = node_load(array("nid" => $nid));
if (_trackback_valid_for_node_type($node)) {
header("Content-Type: text/xml");
print trackback_receive($node);
}
} else {
drupal_goto();
}
}

Comments

drumm’s picture

This would ignore the ability to turn trackbacks off for a certain node. Currently, $node->can_receive is checked and should be working properly.