diff --git a/src/bp-core/classes/class-bp-email.php b/src/bp-core/classes/class-bp-email.php
index f4de900..3b50be9 100644
a
|
b
|
class BP_Email { |
171 | 171 | $domain = 'localhost.localdomain'; |
172 | 172 | } |
173 | 173 | |
174 | | // This was escaped with esc_html on the way into the database in sanitize_option(). |
175 | | $from_name = wp_specialchars_decode( bp_get_option( 'blogname' ), ENT_QUOTES ); |
176 | | $from_address = "wordpress@$domain"; |
177 | | |
178 | 174 | /** This filter is documented in wp-includes/pluggable.php */ |
179 | | $from_address = apply_filters( 'wp_mail_from', $from_address ); |
| 175 | $from_address = apply_filters( 'wp_mail_from', "wordpress@$domain" ); |
180 | 176 | |
| 177 | // This was escaped with esc_html on the way into the database in sanitize_option(). |
181 | 178 | /** This filter is documented in wp-includes/pluggable.php */ |
182 | | $from_name = apply_filters( 'wp_mail_from_name', $from_name ); |
| 179 | $from_name = wp_specialchars_decode( apply_filters( 'wp_mail_from_name', 'WordPress' ), ENT_QUOTES ); |
183 | 180 | |
184 | 181 | $this->set_from( $from_address, $from_name ); |
185 | 182 | $this->set_reply_to( bp_get_option( 'admin_email' ), $from_name ); |