Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/14/2011 08:55:00 PM (12 years ago)
Author:
djpaul
Message:

Deprecate legacy "from address" email filter. Fixes #3270

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/deprecated/1.6.php

    r5437 r5556  
    8585    _deprecated_function( __FUNCTION__, '1.6' );
    8686}
     87
     88/**
     89 * Sets the "From" address in emails sent
     90 *
     91 * @deprecated 1.6
     92 * @deprecated No longer used.
     93 * @return noreply@sitedomain email address
     94 */
     95function bp_core_email_from_address_filter() {
     96    _deprecated_function( __FUNCTION__, '1.6' );
     97
     98    $domain = (array) explode( '/', site_url() );
     99    return apply_filters( 'bp_core_email_from_address_filter', 'noreply@' . $domain[2] );
     100}
    87101?>
Note: See TracChangeset for help on using the changeset viewer.