Skip to:
Content

bbPress.org

Ticket #2671: 2671.01.patch

File 2671.01.patch, 782 bytes (added by r-a-y, 8 years ago)
  • src/includes/core/filters.php

     
    262262add_filter( 'bbp_make_clickable', 'bbp_make_emails_clickable',    6 ); // jjj@bbpress.org
    263263add_filter( 'bbp_make_clickable', 'bbp_make_mentions_clickable',  8 ); // @jjj
    264264
     265/*
     266 * Emails - If WordPress is 4.3+, return null for the 'To' email address.
     267 *
     268 * This will allow PHPMailer to set the 'To' email header to
     269 * 'undisclosed-recipients;' for those using PHP's mail()
     270 */
     271if ( function_exists( 'wptexturize_primes' ) ) {
     272        add_filter( 'bbp_subscription_to_email', '__return_null' );
     273}
     274
    265275/** Deprecated ****************************************************************/
    266276
    267277/**