Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2009 01:48:08 AM (18 years ago)
Author:
apeatling
Message:

Appending site name to all outgoing notification emails so that they can easily be filtered.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-notifications.php

    r1052 r1058  
    1818        // Set up and send the message
    1919        $to = $ud->user_email;
    20         $subject = sprintf( __( 'New friendship request from %s', 'buddypress' ), $initiator_name );
     20        $subject = '[' . get_blog_option( 1, 'blogname' ) . '] ' . sprintf( __( 'New friendship request from %s', 'buddypress' ), $initiator_name );
    2121
    2222        $message = sprintf( __(
    … …  
    5656        // Set up and send the message
    5757        $to = $ud->user_email;
    58         $subject = sprintf( __( '%s accepted your friendship request', 'buddypress' ), $friend_name );
     58        $subject = '[' . get_blog_option( 1, 'blogname' ) . '] ' . sprintf( __( '%s accepted your friendship request', 'buddypress' ), $friend_name );
    5959
    6060        $message = sprintf( __(
Note: See TracChangeset for help on using the changeset viewer.