WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#2021 closed defect (bug) (fixed)

comment-functions.php error on returning visitor with blank Comment Moderation settings

Reported by: badrad Owned by:
Milestone: 2.0.6 Priority: normal
Severity: normal Version: 2.0
Component: General Keywords: 2.0 comments error
Focuses: Cc:

Description

Just found a bug in RC 1.

If the Comment Moderation list under Options->Discussion is blank, then when a returning user comments on an article strpos on line 867 of comment-functions.php will fail. Adding a word to the Comment Moderation fixes this.

The line should be modified to take in account a possible blank setting.

See:
http://wordpress.org/support/topic/51095#post-280388
for the errors themselves.

Change History (4)

comment:2 ryan8 years ago

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

comment:3 anonymous7 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

comment:4 Denis-de-Bernardy4 years ago

  • Milestone changed from Unassigned to 2.0.6
Note: See TracTickets for help on using tickets.