Skip to content

Commit

Permalink
fix: use correct variable to read linkback URL
Browse files Browse the repository at this point in the history
  • Loading branch information
stklcode committed Mar 18, 2024
1 parent 337f6bb commit 5a88ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rules/EmptyData.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static function verify( $item ) {
}

if ( $item['reaction_type'] === ContentTypeHelper::LINKBACK_TYPE ) {
$url = $linkback['comment_author_url'] ?? '';
$url = $item['comment_author_url'] ?? '';
if ( empty( $url ) ) {
return 999;
}
Expand Down

0 comments on commit 5a88ab2

Please sign in to comment.