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-members/bp-members-functions.php

    r6587 r6589  
    13401340    $activate_url = esc_url( $activate_url );
    13411341
    1342     $from_name = bp_get_option( 'blogname', 'WordPress' );
    1343 
    13441342    $message = sprintf( __( "Thanks for registering! To complete the activation of your account please click the following link:\n\n%1\$s\n\n", 'buddypress' ), $activate_url );
    1345     $subject = '[' . $from_name . '] ' . __( 'Activate Your Account', 'buddypress' );
     1343    $subject = bp_get_email_subject( array( 'text' => __( 'Activate Your Account', 'buddypress' ) ) );
    13461344
    13471345    // Send the message
Note: See TracChangeset for help on using the changeset viewer.