wp_allow_comments checking for blacklisted words effectively

wp_blacklist_check is an action – it does not return results and does not influence logic.

Hook you want is pre_comment_approved filter that gets two arguments – $approved (1, 0 or spam ) and $commentdata with comment info.

Use data for your custom processing and return changed $approved outcome if needed.

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