[buddypress-trac] [BuddyPress] #2404: Clean up bp_core_signup_send_validation_email()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon May 24 08:18:23 UTC 2010


#2404: Clean up bp_core_signup_send_validation_email()
-----------------------+----------------------------------------------------
 Reporter:  cnorris23  |       Owner:           
     Type:  defect     |      Status:  new      
 Priority:  normal     |   Milestone:  1.3      
Component:  Core       |    Keywords:  has-patch
-----------------------+----------------------------------------------------
 The function, bp_core_signup_send_validation_email(), contains a lot of
 code from the function, bp_core_activation_signup_user_notification(), for
 WPMU. Some of this code is redundant. The $message_headers variable, for
 one, isn't needed, because wp_mail() gives the exact same results by
 default. The $from_name and $admin_email variables are already handled by
 the bp_core_email_from_name_filter() and
 bp_core_email_from_address_filter, respectively.

 The filters for $to, $subject, and $message are named after the WPMU
 specific function.

 It would also be nice to have some extra parameters for the $message
 filter so that the email can be more easily customized and personalized.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2404>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list