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