From afc74df2f6faf315469994bd5dff3e9c3109418b Mon Sep 17 00:00:00 2001
Message-Id: <afc74df2f6faf315469994bd5dff3e9c3109418b.1460496850.git.inventive.mind@yahoo.com>
From: Ayush <inventive.mind@yahoo.com>
Date: Wed, 13 Apr 2016 03:04:03 +0530
Subject: [PATCH] Mail host fix
---
src/bp-core/classes/class-bp-phpmailer.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/bp-core/classes/class-bp-phpmailer.php b/src/bp-core/classes/class-bp-phpmailer.php
index 2042103..ab287b1 100644
a
|
b
|
class BP_PHPMailer implements BP_Email_Delivery { |
151 | 151 | return get_current_site()->domain; // From fix_phpmailer_messageid() |
152 | 152 | } |
153 | 153 | |
154 | | return preg_replace( '#^https?://#i', '', bp_get_option( 'home' ) ); |
| 154 | $home = bp_get_option( 'home' ); |
| 155 | return parse_url($home,PHP_URL_HOST); |
155 | 156 | } |
156 | 157 | } |