Make WordPress Core

Opened 18 years ago

Closed 17 years ago

#8277 closed enhancement (duplicate)

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

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

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 18 years ago.
Patch for the current trunk version

Download all attachments as: .zip

Change History (8)

@hetjens
18 years ago

Patch for the current trunk version

#1 @ryan
18 years ago

  • Milestone 2.7 → 2.8

Postponing enhancements to 2.8.

#2 @hetjens
18 years ago

  • Milestone 2.8 → 2.7.2

Please have a look!

#3 @FFEMTcJ
18 years ago

  • Milestone 2.7.2 → 2.8

Postponing enhancements to 2.8

#4 @janeforshort
18 years ago

  • Keywords has-patch needs-testing added

#5 @Denis-de-Bernardy
18 years ago

  • Keywords needs-patch added; has-patch needs-testing removed
  • Milestone 2.8 → Future Release

$from is set nowhere.

#6 @Denis-de-Bernardy
17 years ago

see also #9969 (dup)

#7 @Denis-de-Bernardy
17 years ago

  • Milestone Future Release
  • Resolution → duplicate
  • Status new → closed

#9969 has a better patch

Note: See TracTickets for help on using tickets.