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-core/deprecated/1.5.php

    r6587 r6589  
    350350            $ud = bp_core_get_core_userdata( $receiver_user_id );
    351351            $to = $ud->user_email;
    352             $sitename = bp_get_option( 'blogname', 'WordPress' );
    353             $subject  = '[' . $sitename . '] ' . sprintf( __( '%1$s mentioned you in the group "%2$s"', 'buddypress' ), $poster_name, $group->name );
     352            $subject = bp_get_email_subject( array( 'text' => sprintf( __( '%1$s mentioned you in the group "%2$s"', 'buddypress' ), $poster_name, $group->name ) ) );
    354353
    355354$message = sprintf( __(
Note: See TracChangeset for help on using the changeset viewer.