WordPress.org

Make WordPress Core

Ticket #21579: 21579.patch

File 21579.patch, 419 bytes (added by jkudish, 6 years ago)
  • wp-includes/link-template.php

     
    23382338                return;
    23392339
    23402340        $link = get_permalink( $id );
     2341
     2342        if ( $page = get_query_var('cpage') )
     2343                $link = get_comments_pagenum_link( $page );
     2344
    23412345        echo "<link rel='canonical' href='$link' />\n";
    23422346}
    23432347