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

Commit 1735759

Browse files
committed
fixed excerpt presentation
1 parent c6e429b commit 1735759

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

semantic-linkbacks.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ public static function get_url( $comment = null ) {
260260
if ( ! $semantic_linkbacks_canonical ) {
261261
$semantic_linkbacks_canonical = $comment->comment_author_url;
262262
}
263+
263264
return $semantic_linkbacks_canonical;
264265
}
265266

@@ -310,6 +311,7 @@ public static function comment_text_excerpt( $text, $comment = null, $args = arr
310311
// only change text for pingbacks/trackbacks/webmentions
311312
if ( ! $comment ||
312313
'' == $comment->comment_type ||
314+
! $semantic_linkbacks_type ||
313315
'reply' == $semantic_linkbacks_type ) {
314316
return $text;
315317
}

0 commit comments

Comments
 (0)