Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit c66472a

Browse files
committed
Fix markup.
1 parent ea483ea commit c66472a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

includes/functions.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,12 @@ function list_linkbacks( $args, $comments ) {
128128
foreach ( $comments as $comment ) {
129129
$return .= sprintf( '<li class="%1$s">
130130
<a class="u-url" href="%2$s">
131-
<span class="p-author h-card">%3$s</span>
131+
<span class="p-author h-card">%3$s
132132
<a class="hide-name p-name u-url" href="%4$s">%5$s</a>
133-
</span></a>
133+
</span>
134+
</a>
134135
</li>',
135-
$classes, get_comment_link( $comment ), get_avatar( $comment, $r['avatar_size'] ), get_comment_author_url( $comment ), get_comment_author( $comment ) );
136+
$classes, Linkbacks_Handler::get_canonical_url( $comment ), get_avatar( $comment, $r['avatar_size'] ), get_comment_author_url( $comment ), get_comment_author( $comment ) );
136137
}
137138
$return .= sprintf( '</%1$s>', $r['style'] );
138139
if ( $r['echo'] ) {

0 commit comments

Comments
 (0)