Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#14139 closed defect (bug) (fixed)

Page title missing in Moderate Comments

Reported by: MattyRob Owned by: nacin
Priority: normal Milestone: 3.1
Component: Comments Version: 3.0
Severity: trivial Keywords: has-patch
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 3 years ago.

Download all attachments as: .zip

Change History (7)

  • 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!

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.

Actually, I meant comment.php. :-)

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

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

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

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

Note: See TracTickets for help on using tickets.