Ticket #14850: paged-dead-code.diff
File paged-dead-code.diff, 598 bytes (added by , 15 years ago) |
---|
-
wp-includes/link-template.php
1480 1480 1481 1481 $nextpage = intval($paged) + 1; 1482 1482 1483 if ( !is_single() && ( empty($paged) || $nextpage <= $max_page) ) {1483 if ( !is_single() && ( $nextpage <= $max_page ) ) { 1484 1484 $attr = apply_filters( 'next_posts_link_attributes', '' ); 1485 1485 return '<a href="' . next_posts( $max_page, false ) . "\" $attr>" . preg_replace('/&([^#])(?![a-z]{1,8};)/i', '&$1', $label) . '</a>'; 1486 1486 }