Changeset 10701
- Timestamp:
- 04/13/2016 10:45:04 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/src/bp-core/classes/class-bp-phpmailer.php
r10671 r10701 54 54 55 55 $phpmailer->IsMail(); 56 $phpmailer->CharSet = bp_get_option( 'blog_charset' ); 57 $phpmailer->Hostname = self::get_hostname(); 56 $phpmailer->CharSet = bp_get_option( 'blog_charset' ); 58 57 59 58 … … 144 143 * 145 144 * @since 2.5.0 145 * @deprecated 2.5.3 No longer used. 146 146 * 147 147 * @return string 148 148 */ 149 149 public static function get_hostname() { 150 if ( is_multisite() ) { 151 return get_current_site()->domain; // From fix_phpmailer_messageid() 152 } 153 154 return preg_replace( '#^https?://#i', '', bp_get_option( 'home' ) ); 150 return ''; 155 151 } 156 152 }
Note: See TracChangeset
for help on using the changeset viewer.