Skip to:
Content

bbPress.org

Ticket #2618: 2618.4.diff

File 2618.4.diff, 574 bytes (added by netweb, 7 years ago)
  • src/includes/common/functions.php

     
    993993 * @return string
    994994 */
    995995function bbp_get_do_not_reply_address() {
    996         $email = 'noreply@' . str_replace( 'www.', '', ltrim( get_home_url(), '^(http|https)://' ) );
     996        $email = 'noreply@' . str_replace( array( 'http://', 'https://', 'www.' ), '', get_home_url() );
    997997        return apply_filters( 'bbp_get_do_not_reply_address', $email );
    998998}
    999999