Use page_id=xx instead of p=xx&static=1

git-svn-id: http://svn.automattic.com/wordpress/trunk@1759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren
2004-10-08 08:06:21 +00:00
parent 943351b556
commit ff3d47b742
3 changed files with 16 additions and 12 deletions

View File

@@ -96,7 +96,7 @@ function get_page_link($id = false) {
$link = get_page_uri($id);
$link = get_settings('home') . "/$link/";
} else {
$link = get_settings('home') . "/index.php?p=$id&static=1";
$link = get_settings('home') . "/index.php?page_id=$id";
}
return $link;