diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 30e1499426..d7f7ddd7c5 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -2338,6 +2338,10 @@ function rel_canonical() { return; $link = get_permalink( $id ); + + if ( $page = get_query_var('cpage') ) + $link = get_comments_pagenum_link( $page ); + echo "\n"; }