Is this a wordpress bug? get_comment_link auto shoots when user visits his dashboard

It appears that you’re intending to redirect the user to a certain page, after the user posts a comment?

If so: why are you hooking into get_commenet_link for this redirect? The get_comment_link() function is intended to return the permalink to a given comment. The get_comment_link filter is intended to filer the comment permalink returned by get_comment_link(). By hooking into get_comment_link, your callback is going to fire everywhere that get_comment_link() is called. Here is the filter inside of the function:

return apply_filters( 'get_comment_link', $link . '#comment-' . $comment->comment_ID, $comment, $args );

I would recommend using a more appropriate hook related to the comment-posting process, such as comment_post.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)