Make WordPress Core

Ticket #20162: 20162.patch

File 20162.patch, 805 bytes (added by boonebgorges, 13 years ago)
  • wp-includes/ms-functions.php

     
    10421042 * the notification email.
    10431043 *
    10441044 * @since MU
     1045 * @uses apply_filters() Filter newuser_notify_siteadmin to change the content of the email message
    10451046 *
    10461047 * @param int $user_id The new user's ID.
    10471048 * @return bool
     
    10631064
    10641065Disable these notifications: %3s'), $user->user_login, $_SERVER['REMOTE_ADDR'], $options_site_url);
    10651066
    1066         $msg = apply_filters( 'newuser_notify_siteadmin', $msg );
     1067        $msg = apply_filters( 'newuser_notify_siteadmin', $msg, $user_id, $user );
    10671068        wp_mail( $email, sprintf(__('New User Registration: %s'), $user->user_login), $msg );
    10681069        return true;
    10691070}