PATH_INFO page links now include the index. Bug 404.

git-svn-id: https://develop.svn.wordpress.org/trunk@1828 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-10-22 21:44:00 +00:00
parent c565632bb3
commit 4b81c51c9b
1 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,9 @@ function get_page_link($id = false) {
if ('' != $permalink) {
$link = get_page_uri($id);
if (using_index_permalinks()) {
$link = 'index.php/' . $link;
}
$link = get_settings('home') . "/$link/";
} else {
$link = get_settings('home') . "/index.php?page_id=$id";