#1698 closed defect (bug) (fixed)
Comment notification emails are not being sent
| Reported by: | MtDewVirus | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Administration | Version: | 1.6 |
| Severity: | major | Keywords: | comment email notification bg|has-patch bg|commit bg|squashed |
| Cc: | Focuses: |
Description
The emails to notify of new comments are not being sent.
Attachments (1)
Change History (10)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
With http://trac.wordpress.org/changeset/2827, the following line was removed from function wp_notify_postauthor
$user = $wpdb->get_row("SELECT * FROM $wpdb->users WHERE ID='$post->post_author' LIMIT 1");
This causes the next line to always return false because $user isn't set.
if ( == $user->user_email) return false; If there's no email to send the comment to
Comment notificatons will never be sent.