Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/10/2012 09:55:56 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Revert r6587:

  • Introduce bp_get_email_subject() function, to handle formatting of email subjects.
  • For all components with notifications, including deprecated files.
  • Fixes #4401, better this time.
File:
1 edited

Legend:

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

    r6587 r6589  
    4848            // Set up and send the message
    4949            $email_to      = $ud->user_email;
    50             $sitename      = bp_get_option( 'blogname', 'WordPress' );
    51             $email_subject = '[' . $sitename . '] ' . sprintf( __( 'New message from %s', 'buddypress' ), $sender_name );
     50            $email_subject = bp_get_email_subject( array( 'text' => sprintf( __( 'New message from %s', 'buddypress' ), $sender_name ) ) );
    5251
    5352            $email_content = sprintf( __(
Note: See TracChangeset for help on using the changeset viewer.