Accidentally dropped admin_email var. http://mosquito.wordpress.org/view.php?id=1190 Props: MtDewVirus
git-svn-id: https://develop.svn.wordpress.org/trunk@2498 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8c461095fc
commit
2b8aad1549
|
@ -705,6 +705,7 @@ function wp_notify_moderator($comment_id) {
|
||||||
$notify_message .= get_settings('siteurl') . "/wp-admin/moderation.php\r\n";
|
$notify_message .= get_settings('siteurl') . "/wp-admin/moderation.php\r\n";
|
||||||
|
|
||||||
$subject = sprintf( __('[%1$s] Please moderate: "%2$s"'), get_settings('blogname'), $post->post_title );
|
$subject = sprintf( __('[%1$s] Please moderate: "%2$s"'), get_settings('blogname'), $post->post_title );
|
||||||
|
$admin_email = get_settings("admin_email");
|
||||||
|
|
||||||
@wp_mail($admin_email, $subject, $notify_message);
|
@wp_mail($admin_email, $subject, $notify_message);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue