mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-10 22:58:33 +02:00
Fixed bug: http://wordpress.org/support/6/933
git-svn-id: http://svn.automattic.com/wordpress/trunk@557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bec3a8302c
commit
1c5322e065
@ -437,7 +437,7 @@ function get_permalink($id=false) {
|
||||
);
|
||||
return $siteurl . str_replace($rewritecode, $rewritereplace, get_settings('permalink_structure'));
|
||||
} else {
|
||||
return $siteurl . '/' . $blogfilename.$querystring_start.'p'.$querystring_equal.$idpost->ID;
|
||||
return $siteurl . '/' . $blogfilename.$querystring_start.'p'.$querystring_equal.$id;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user