WordPress.org

Make WordPress Core

Ticket #19803: 19803.patch

File 19803.patch, 618 bytes (added by SergeyBiryukov, 6 years ago)
  • wp-includes/link-template.php

     
    15651565
    15661566        if ( !is_single() && $paged > 1 ) {
    15671567                $attr = apply_filters( 'previous_posts_link_attributes', '' );
    1568                 return '<a href="' . previous_posts( false ) . "\" $attr>". preg_replace( '/&([^#])(?![a-z]{1,8};)/', '&#038;$1', $label ) .'</a>';
     1568                return '<a href="' . previous_posts( false ) . "\" $attr>". preg_replace( '/&([^#])(?![a-z]{1,8};)/i', '&#038;$1', $label ) .'</a>';
    15691569        }
    15701570}
    15711571