Changeset 5259
- Timestamp:
- 01/16/2014 08:36:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/includes/common/functions.php
r5258 r5259 1063 1063 $reply_url = bbp_get_reply_url( $reply_id ); 1064 1064 $blog_name = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); 1065 $do_not_reply = 'noreply@' . ltrim( get_home_url( null, '', 'relative' ), '/' );1065 $do_not_reply = '<noreply@' . ltrim( get_home_url(), '^(http|https)://' ) . '>'; 1066 1066 1067 1067 // For plugins to filter messages per reply/topic/user … … 1100 1100 1101 1101 // Setup the From header 1102 $headers[] = 'From: .' . get_bloginfo( 'name' ) . ' ' . $do_not_reply;1102 $headers[] = 'From: ' . get_bloginfo( 'name' ) . ' ' . $do_not_reply; 1103 1103 1104 1104 // Get topic subscribers and bail if empty … … 1203 1203 $topic_url = get_permalink( $topic_id ); 1204 1204 $blog_name = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); 1205 $do_not_reply = ' noreply@' . ltrim( get_home_url( null, '', 'relative' ), '/' );1205 $do_not_reply = '<noreply@' . ltrim( get_home_url(), '^(http|https)://' ) . '>'; 1206 1206 1207 1207 // For plugins to filter messages per reply/topic/user … … 1240 1240 1241 1241 // Setup the From header 1242 $headers[] = 'From: .' . get_bloginfo( 'name' ) . ' ' . $do_not_reply;1242 $headers[] = 'From: ' . get_bloginfo( 'name' ) . ' ' . $do_not_reply; 1243 1243 1244 1244 // Get topic subscribers and bail if empty
Note: See TracChangeset
for help on using the changeset viewer.