Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#3197 closed enhancement (fixed)

wp_allow_comment has unused code

Reported by: nazgul's profile Nazgul Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0.4
Component: Optimization Keywords: has-patch
Focuses: 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 (2)

3197.diff (555 bytes) - added by Nazgul 18 years ago.
3197_20.diff (585 bytes) - added by Nazgul 18 years ago.

Download all attachments as: .zip

Change History (9)

@Nazgul
18 years ago

#1 @Nazgul
18 years ago

This will also fix #3197.

#2 @Nazgul
18 years ago

I meant: This will also fix #1738.

I really should be going to bed...

@Nazgul
18 years ago

#3 @Nazgul
18 years ago

  • Milestone changed from 2.1 to 2.0.5
  • Version changed from 2.1 to 2.0.4

Just noticed 2.0 branch also has this issue.

#4 @markjaquith
18 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

#5 @markjaquith
18 years ago

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

#6 @(none)
18 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

#8 @filosofo
15 years ago

  • Milestone Unassigned deleted
Note: See TracTickets for help on using tickets.