Changeset 5640
- Timestamp:
- 03/17/2015 12:30:01 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/functions.php
r5637 r5640 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 }
Note: See TracChangeset
for help on using the changeset viewer.