Fixed %post_id% token handling. Fixed pingback link detection.

git-svn-id: http://svn.automattic.com/wordpress/trunk@640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
emc3
2003-12-22 23:00:45 +00:00
parent 75f9641bb1
commit c8604702fc
3 changed files with 20 additions and 9 deletions

View File

@@ -419,7 +419,8 @@ function get_permalink($id=false) {
date('Y', $unixtime),
date('n', $unixtime),
date('j', $unixtime),
$post->post_name
$post->post_name,
$post->ID
);
return $siteurl . str_replace($rewritecode, $rewritereplace, get_settings('permalink_structure'));
} else { // if they're not using the fancy permalink option