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:
parent
12b406941a
commit
184628f5dc
|
@ -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