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
This commit is contained in:
parent
390531cad7
commit
9f3fcc45ee
|
@ -1637,7 +1637,7 @@ function get_posts($args) {
|
||||||
return $posts;
|
return $posts;
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_comment($author, $email, $url, $comment, $user_ip) {
|
function check_comment($author, $email, $url, $comment, $user_ip, $user_agent) {
|
||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
||||||
if (1 == get_settings('comment_moderation')) return false; // If moderation is set to manual
|
if (1 == get_settings('comment_moderation')) return false; // If moderation is set to manual
|
||||||
|
|
Loading…
Reference in New Issue