[wp-hackers] WP doesn't notify when comment is approved
Callum Macdonald
lists.automattic.com at callum-macdonald.com
Thu May 1 14:37:50 GMT 2008
G'day,
I couldn't figure out why I didn't get an email once I approved a
comment since upgrading to 2.5.1. So, I dug into the code, and found out
that this is missing since 2.5, or more specifically since the
moderation.php functionality was moved to edit-comments.php.
The relevant code in moderation.php was:
if ( get_option( 'comments_notify' ) == true ) {
wp_notify_postauthor( $k );
}
This appears to be completely missing in edit-comments.php. Bug report,
patch, etc attached to:
http://trac.wordpress.org/ticket/6892
Cheers - Callum.
More information about the wp-hackers
mailing list