Ticket #3197 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

wp_allow_comment has unused code

Reported by: Nazgul Assigned to: anonymous
Priority: normal Milestone:
Component: Optimization Version: 2.0.4
Severity: normal Keywords: has-patch
Cc:

Description

The wp_allow_comment function has some code which is never used (anymore).

$comment_user_domain = apply_filters('pre_comment_user_domain', gethostbyaddr($comment_author_IP) );

Attachments

3197.diff (0.5 kB) - added by Nazgul on 10/03/06 22:42:59.
3197_20.diff (0.6 kB) - added by Nazgul on 10/04/06 03:08:14.

Change History

10/03/06 22:42:59 changed by Nazgul

  • attachment 3197.diff added.

10/04/06 00:25:01 changed by Nazgul

This will also fix #3197.

10/04/06 00:27:35 changed by Nazgul

I meant: This will also fix #1738.

I really should be going to bed...

10/04/06 03:08:14 changed by Nazgul

  • attachment 3197_20.diff added.

10/04/06 03:08:48 changed by Nazgul

  • version changed from 2.1 to 2.0.4.
  • milestone changed from 2.1 to 2.0.5.

Just noticed 2.0 branch also has this issue.

10/04/06 03:58:45 changed by markjaquith

  • status changed from new to closed.
  • resolution set to fixed.

(In [4293]) remove comment_user_domain cruft. Props Nazgul. fixes #3197

10/04/06 03:59:47 changed by markjaquith

(In [4294]) remove comment_user_domain cruft. Props Nazgul. fixes #3197

11/30/06 19:41:51 changed by

  • milestone deleted.

Milestone 2.0.5 deleted