Typo in filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@2150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5dd45ddd29
commit
8d7769dd6b
|
@ -434,7 +434,7 @@ function wp_new_comment( $commentdata, $spam = false ) {
|
|||
$url = apply_filters('pre_comment_author_url', $comment_author_url);
|
||||
$comment = apply_filters('pre_comment_content', $comment_content);
|
||||
$comment = apply_filters('post_comment_text', $comment); // Deprecated
|
||||
$comment = apply_filters('comment_content_presave', $comment_content); // Deprecated
|
||||
$comment = apply_filters('comment_content_presave', $comment); // Deprecated
|
||||
|
||||
$user_ip = apply_filters('pre_comment_user_ip', $_SERVER['REMOTE_ADDR']);
|
||||
$user_domain = apply_filters('pre_comment_user_domain', gethostbyaddr($user_ip) );
|
||||
|
|
Loading…
Reference in New Issue