Ticket #6999: link-template.php-2.diff
File link-template.php-2.diff, 949 bytes (added by , 16 years ago) |
---|
-
wp-includes/link-template.php
696 696 if ( (! is_single()) && (empty($paged) || $nextpage <= $max_page) ) { 697 697 echo '<a href="'; 698 698 next_posts($max_page); 699 echo '">'. preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $label) .'</a>'; 699 $attr = apply_filters( 'next_posts_link_attributes', '' ); 700 echo "\" $attr>". preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $label) .'</a>'; 700 701 } 701 702 } 702 703 … … 720 721 if ( (!is_single()) && ($paged > 1) ) { 721 722 echo '<a href="'; 722 723 previous_posts(); 723 echo '">'. preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $label) .'</a>'; 724 $attr = apply_filters( 'previous_posts_link_attributes', '' ); 725 echo "\" $attr>". preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $label) .'</a>'; 724 726 } 725 727 } 726 728