Changeset 5017 for trunk/wp-includes/post-template.php
- Timestamp:
- 03/10/2007 05:54:12 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r4953 r5017 156 156 $output .= ' '; 157 157 if ( ($i != $page) || ((!$more) && ($page==1)) ) { 158 if ( '' == get_option('permalink_structure') ) 159 $output .= '<a href="' . get_permalink() . '&page=' . $i . '">'; 160 else 161 $output .= '<a href="' . trailingslashit(get_permalink()) . $i . '/">'; 158 if ( '' == get_option('permalink_structure') ) { 159 if ( $i == 1 ) 160 $output .= '<a href="' . get_permalink() . $i . '">'; 161 else 162 $output .= '<a href="' . get_permalink() . '&page=' . $i . '">'; 163 } else { 164 if ( $i == 1 ) 165 $output .= '<a href="' . get_permalink() . '">'; 166 else 167 $output .= '<a href="' . trailingslashit(get_permalink()) . user_trailingslashit($i) . '">'; 168 } 162 169 } 163 170 $output .= $j;
Note: See TracChangeset
for help on using the changeset viewer.