WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#14139 closed defect (bug) (fixed)

Page title missing in Moderate Comments

Reported by: MattyRob Owned by: nacin
Milestone: 3.1 Priority: normal
Severity: trivial Version: 3.0
Component: Comments Keywords: has-patch
Focuses: Cc:

Description

The email links for comments that can be deleted or spammed via a link in the emails sent by WordPress leads to a page with no title.

This is because there is no $title defined in the 'case' of the comment being a delete, approve, trash or spam.

Patch to follow shortly.

Attachments (1)

14139-patch.diff (342 bytes) - added by MattyRob 7 years ago.

Download all attachments as: .zip

Change History (7)

@MattyRob
7 years ago

#1 @nacin
7 years ago

  • Keywords tested removed
  • Milestone changed from Awaiting Review to 3.1
  • Owner set to nacin
  • Status changed from new to accepted

I did a lot of cleanups of edit-comments.php in 3.0, and I'm surprised I missed this. Thanks!

#2 @MattyRob
7 years ago

The patch applies to comment.php in wp-admin. If you were working on edit-comments.php then it may not be surprising that this was missed.

#3 @nacin
7 years ago

Actually, I meant comment.php. :-)

#4 @MattyRob
7 years ago

And there was I trying to make you feel better about missing it :-)

#5 @nacin
7 years ago

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

(In [15665]) Add missing 'Moderate Comment' $title to comment.php. props MattyRob, fixes #14139.

#6 @nacin
6 years ago

(In [15674]) Add missing echo. see #14139, [15665].

Note: See TracTickets for help on using tickets.