Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/18/2016 12:26:46 PM (9 years ago)
Author:
djpaul
Message:

Emails: adjust name of filter controlling wp_mail fallback.

The email code used to be called bp_mail in most places but the
functions and classes were changed prior to the original commit. This
filter was missed from that rename.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-functions.php

    r10613 r10614  
    29512951     * @param bool $use_wp_mail Whether to fallback to the regular wp_mail() function or not.
    29522952     */
    2953     $must_use_wpmail = apply_filters( 'bp_mail_use_wp_mail', $wp_html_emails || ! $is_default_wpmail );
     2953    $must_use_wpmail = apply_filters( 'bp_email_use_wp_mail', $wp_html_emails || ! $is_default_wpmail );
    29542954
    29552955    if ( $must_use_wpmail ) {
Note: See TracChangeset for help on using the changeset viewer.