Does comment contain disallowed characters or words.
Parameters
$author
stringrequired- The author of the comment
$email
stringrequired- The email of the comment
$url
stringrequired- The url used in the comment
$comment
stringrequired- The comment content
$user_ip
stringrequired- The comment author’s IP address
$user_agent
stringrequired- The author’s browser user agent
Source
function wp_blacklist_check( $author, $email, $url, $comment, $user_ip, $user_agent ) {
_deprecated_function( __FUNCTION__, '5.5.0', 'wp_check_comment_disallowed_list()' );
return wp_check_comment_disallowed_list( $author, $email, $url, $comment, $user_ip, $user_agent );
}
Changelog
Version | Description |
---|---|
5.5.0 | Use wp_check_comment_disallowed_list() instead. Please consider writing more inclusive code. |
1.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.