[wp-cvs] wordpress/wp-includes template-functions-links.php, 1.40,
1.41
Ryan Boren
rboren at users.sourceforge.net
Fri Oct 22 21:44:02 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23981
Modified Files:
template-functions-links.php
Log Message:
PATH_INFO page links now include the index. Bug 404.
Index: template-functions-links.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-links.php,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** template-functions-links.php 13 Oct 2004 14:18:17 -0000 1.40
--- template-functions-links.php 22 Oct 2004 21:44:00 -0000 1.41
***************
*** 95,98 ****
--- 95,101 ----
if ('' != $permalink) {
$link = get_page_uri($id);
+ if (using_index_permalinks()) {
+ $link = 'index.php/' . $link;
+ }
$link = get_settings('home') . "/$link/";
} else {
More information about the cvs
mailing list