Skip to:
Content

BuddyPress.org

Changeset 5123


Ignore:
Timestamp:
09/07/2011 11:03:09 PM (10 years ago)
Author:
boonebgorges
Message:

Hardcode default replyto email address in bp_core_email_from_address_filter(), to avoid l18n problems in non-Latin charsets. Fixes #3498. Props cnorris23

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-filters.php

    r5076 r5123  
    5353    $domain = (array) explode( '/', site_url() );
    5454
    55     return apply_filters( 'bp_core_email_from_address_filter', __( 'noreply', 'buddypress' ) . '@' . $domain[2] );
     55    return apply_filters( 'bp_core_email_from_address_filter', 'noreply@' . $domain[2] );
    5656}
    5757add_filter( 'wp_mail_from', 'bp_core_email_from_address_filter' );
Note: See TracChangeset for help on using the changeset viewer.