Ticket #2618: 2618.5.diff
File 2618.5.diff, 562 bytes (added by , 10 years ago) |
---|
-
src/includes/common/functions.php
1011 1011 * @return string 1012 1012 */ 1013 1013 function bbp_get_do_not_reply_address() { 1014 $email = 'noreply@' . str_replace( 'www.', '', ltrim( get_home_url(), '^(http|https)://') );1014 $email = 'noreply@' . preg_replace( '@^https?://(www\.)?@i', '', get_home_url() ); 1015 1015 return apply_filters( 'bbp_get_do_not_reply_address', $email ); 1016 1016 } 1017 1017