Changeset 5702
- Timestamp:
- 06/14/07 02:58:04 (1 year ago)
- Files:
-
- branches/2.2/wp-includes/link-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.2/wp-includes/link-template.php
r5591 r5702 483 483 if ( $permalink ) 484 484 $qstr = user_trailingslashit($qstr, 'paged'); 485 $qstr = preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', trailingslashit( get_option('home') ) . $qstr );486 485 487 486 // showing /page/1/ or ?paged=1 is redundant … … 491 490 $qstr = remove_query_arg('paged', $qstr); // for query style 492 491 } 492 493 $qstr = preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', trailingslashit( get_option('home') ) . $qstr ); 494 493 495 return $qstr; 494 496 }
