Ticket #20162: 20162.patch
File 20162.patch, 805 bytes (added by , 13 years ago) |
---|
-
wp-includes/ms-functions.php
1042 1042 * the notification email. 1043 1043 * 1044 1044 * @since MU 1045 * @uses apply_filters() Filter newuser_notify_siteadmin to change the content of the email message 1045 1046 * 1046 1047 * @param int $user_id The new user's ID. 1047 1048 * @return bool … … 1063 1064 1064 1065 Disable these notifications: %3s'), $user->user_login, $_SERVER['REMOTE_ADDR'], $options_site_url); 1065 1066 1066 $msg = apply_filters( 'newuser_notify_siteadmin', $msg );1067 $msg = apply_filters( 'newuser_notify_siteadmin', $msg, $user_id, $user ); 1067 1068 wp_mail( $email, sprintf(__('New User Registration: %s'), $user->user_login), $msg ); 1068 1069 return true; 1069 1070 }