Opened 5 years ago
Closed 4 years ago
#8277 closed enhancement (duplicate)
Add filter 'comment_moderation_headers' in 'wp_notify_moderator' (pluggable.php)
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | |
| Severity: | normal | Keywords: | needs-patch |
| 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)
Change History (8)
comment:4
janeforshort
— 4 years ago
- Keywords has-patch needs-testing added
comment:5
Denis-de-Bernardy
— 4 years ago
- Keywords needs-patch added; has-patch needs-testing removed
- Milestone changed from 2.8 to Future Release
$from is set nowhere.
comment:6
Denis-de-Bernardy
— 4 years ago
see also #9969 (dup)
comment:7
Denis-de-Bernardy
— 4 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.
Patch for the current trunk version