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

Commit 10384bb

Browse files
authored
fixed code-climate error
1 parent 61be36d commit 10384bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

includes/class-linkbacks-handler.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,9 @@ public static function get_comment_link( $link, $comment, $args ) {
481481
* @return string the replaced/parsed author url or the original comment link
482482
*/
483483
public static function get_comment_author_url( $url, $id, $comment ) {
484-
if ( $author_url = self::get_author_url( $comment ) ) {
484+
$author_url = self::get_author_url( $comment );
485+
486+
if ( $author_url ) {
485487
return $author_url;
486488
}
487489

0 commit comments

Comments
 (0)