PATH_INFO page links now include the index. Bug 404.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-10-22 21:44:00 +00:00
parent 12b406941a
commit 184628f5dc
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";