Title: Comment link bug fixed
Last modified: August 18, 2016

---

# Comment link bug fixed

 *  [Kitten](https://wordpress.org/support/users/kitten/)
 * (@kitten)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/comment-link-bug-fixed/)
 * I found the problem in the `check_comment` function of `functions.php` —
    $number
   = count($all_links[0]); should be $number = count($all_links); and the count 
   code should be before the spam words test. I went ahead and rewrote `check_comment`
   function a little. You can read about it and the other anti-spam measures that
   I took here: [http://blog.mookitty.co.uk/archives/2004/05/09/65](http://blog.mookitty.co.uk/archives/2004/05/09/65)
   This is what I get for getting permalinks working!!!

Viewing 1 replies (of 1 total)

 *  Thread Starter [Kitten](https://wordpress.org/support/users/kitten/)
 * (@kitten)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/comment-link-bug-fixed/#post-49840)
 * This was commited to CVS by Matt this afternoon.

Viewing 1 replies (of 1 total)

The topic ‘Comment link bug fixed’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Kitten](https://wordpress.org/support/users/kitten/)
 * Last activity: [22 years, 1 month ago](https://wordpress.org/support/topic/comment-link-bug-fixed/#post-49840)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
