From 9f3fcc45eed0e31352af244e96200b18b09ed460 Mon Sep 17 00:00:00 2001 From: rboren Date: Tue, 9 Nov 2004 02:31:48 +0000 Subject: [PATCH] add $user_agent to check_comment() arg list. Bug 415. Patch by MC_incubus. git-svn-id: http://svn.automattic.com/wordpress/trunk@1847 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 212f828833..8c5299850a 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1637,7 +1637,7 @@ function get_posts($args) { return $posts; } -function check_comment($author, $email, $url, $comment, $user_ip) { +function check_comment($author, $email, $url, $comment, $user_ip, $user_agent) { global $wpdb; if (1 == get_settings('comment_moderation')) return false; // If moderation is set to manual