Changeset 1555 for trunk/wp-includes/template-functions-links.php
- Timestamp:
- 08/23/2004 11:28:14 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/template-functions-links.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-links.php
r1537 r1555 350 350 351 351 // If it's not a path info permalink structure, trim the index. 352 if ( ! preg_match('#^/*' . get_settings('blogfilename') . '#', get_settings('permalink_structure'))) {352 if (using_mod_rewrite()) { 353 353 $qstr = preg_replace("#/*" . get_settings('blogfilename') . "/*#", '/', $qstr); 354 } else { 355 // If using path info style permalinks, make sure the index is in 356 // the URI. 357 if (! strstr($qstr, get_settings('blogfilename'))) { 358 $qstr = '/' . get_settings('blogfilename') . $qstr; 359 } 354 360 } 355 361
Note: See TracChangeset
for help on using the changeset viewer.