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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user