Changeset 1514
- Timestamp:
- 08/07/2004 06:12:54 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
r1500 r1514 332 332 } elseif( '' != get_settings('permalink_structure')) { 333 333 $permalink = 1; 334 $qstr = preg_replace('|(.*)/[^/]*|', '$1/', $qstr).$page_modstring.$pagenum; 334 335 // If it's not a path info permalink structure, trim the index. 336 if ( ! preg_match('#^/*' . get_settings('blogfilename') . '#', get_settings('permalink_structure'))) { 337 $qstr = preg_replace("#/*" . get_settings('blogfilename') . "/*#", '/', $qstr); 338 } 339 340 $qstr = trailingslashit($qstr) . $page_modstring . $pagenum; 335 341 } else { 336 342 $qstr = get_settings('blogfilename') . $querystring_start.$page_querystring.$querystring_equal.$pagenum;
Note: See TracChangeset
for help on using the changeset viewer.