Ticket #28081: 28081.patch
| File 28081.patch, 787 bytes (added by , 12 years ago) |
|---|
-
src/wp-includes/canonical.php
271 271 $paged = get_query_var('paged'); 272 272 $redirect['query'] = remove_query_arg( 'paged', $redirect['query'] ); 273 273 if ( !is_feed() ) { 274 if ( $paged > 1 && !is_sing le() ) {274 if ( $paged > 1 && !is_singular() ) { 275 275 $addl_path = ( !empty( $addl_path ) ? trailingslashit($addl_path) : '' ) . user_trailingslashit("$wp_rewrite->pagination_base/$paged", 'paged'); 276 } elseif ( !is_sing le() ) {276 } elseif ( !is_singular() ) { 277 277 $addl_path = !empty( $addl_path ) ? trailingslashit($addl_path) : ''; 278 278 } 279 279 } elseif ( $paged > 1 ) {