Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#8277 closed enhancement (duplicate)

Add filter 'comment_moderation_headers' in 'wp_notify_moderator' (pluggable.php)

Reported by: hetjens's profile hetjens Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Comments Keywords: needs-patch
Focuses: Cc:

Description

I want to modifiy email headers of the new comment notification emails. The function to send a email to the post author (wp_notify_postauthor) offers a filter ('comment_notification_headers') to do this, but the function 'wp_notify_moderator' doesn't.

I created a patch, that adds and modifies 4 lines in this function. It adds the filter (comment_moderation_headers) and sets also, like in the other function, the charset for the email.

Attachments (1)

pluggable.diff (872 bytes) - added by hetjens 16 years ago.
Patch for the current trunk version

Download all attachments as: .zip

Change History (8)

@hetjens
16 years ago

Patch for the current trunk version

#1 @ryan
16 years ago

  • Milestone changed from 2.7 to 2.8

Postponing enhancements to 2.8.

#2 @hetjens
16 years ago

  • Milestone changed from 2.8 to 2.7.2

Please have a look!

#3 @FFEMTcJ
16 years ago

  • Milestone changed from 2.7.2 to 2.8

Postponing enhancements to 2.8

#4 @janeforshort
16 years ago

  • Keywords has-patch needs-testing added

#5 @Denis-de-Bernardy
16 years ago

  • Keywords needs-patch added; has-patch needs-testing removed
  • Milestone changed from 2.8 to Future Release

$from is set nowhere.

#6 @Denis-de-Bernardy
16 years ago

see also #9969 (dup)

#7 @Denis-de-Bernardy
16 years ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

#9969 has a better patch

Note: See TracTickets for help on using tickets.