528 | | echo '<a href="edit-comments.php?s='; |
529 | | comment_author_IP(); |
530 | | echo '&mode=detail'; |
531 | | if ( 'spam' == $comment_status ) |
532 | | echo '&comment_status=spam'; |
533 | | echo '">'; |
534 | | comment_author_IP(); |
535 | | echo '</a>'; |
| 528 | $comment_author_IP = get_comment_author_IP(); |
| 529 | if ( ! empty( $comment_author_IP ) ) { |
| 530 | echo '<a href="edit-comments.php?s=' . $comment_author_IP . '&mode=detail'; |
| 531 | if ( 'spam' == $comment_status ) { |
| 532 | echo '&comment_status=spam'; |
| 533 | } |
| 534 | echo '">' . $comment_author_IP . '</a>'; |
| 535 | } |