Skip to:
Content

bbPress.org


Ignore:
Timestamp:
02/05/2015 02:24:32 PM (11 years ago)
Author:
johnjamesjacoby
Message:

In bbp_notify_forum_subscribers() remove incorrect array assignment. Fixes bug where $headers would be a multidimensional array, causing wp_mail() to complain.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/functions.php

    r5596 r5613  
    12981298
    12991299    // Setup the From header
    1300     $headers[] = array( 'From: ' . get_bloginfo( 'name' ) . ' <' . $from_email . '>' );
     1300    $headers = array( 'From: ' . get_bloginfo( 'name' ) . ' <' . $from_email . '>' );
    13011301
    13021302    // Get topic subscribers and bail if empty
Note: See TracChangeset for help on using the changeset viewer.