mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 08:33:35 +01:00
Fixed bug: http://wordpress.org/support/6/933
git-svn-id: https://develop.svn.wordpress.org/trunk@557 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d0b67dbc9f
commit
6c8852bc51
@ -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…
x
Reference in New Issue
Block a user