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:
parent
c565632bb3
commit
4b81c51c9b
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user