[buddypress-trac] [BuddyPress] #1545: Single-Wordpress-Installation - function bp_core_email_from_address_filter() not working

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Jan 4 01:56:35 UTC 2010


#1545: Single-Wordpress-Installation - function
bp_core_email_from_address_filter() not working
------------------------------+---------------------------------------------
Reporter:  21cdb              |       Owner:     
    Type:  defect             |      Status:  new
Priority:  major              |   Milestone:  1.2
Keywords:  SIngle-WP-Install  |  
------------------------------+---------------------------------------------
 On line 1592 of bp-core.php the function

 {{{
 function bp_core_email_from_address_filter() {
         global $current_site;
         return 'noreply@' . $current_site->domain;
 }
 add_filter( 'wp_mail_from', 'bp_core_email_from_address_filter' );
 }}}

 doesn't work. I guess it's due to the use of $current_site which isn't
 available in Single-WP.

 Also make 'noreply@' translatable if possible.

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


More information about the buddypress-trac mailing list