Skip to:
Content

BuddyPress.org


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

Revert r6586:

  • Do not call esc_html() on site_name in sign-up email titles.
  • Do not decode email blogname section of email subjects into HTML entities.
  • For all components with notifications, including deprecated files.
  • Fixes #4401.
File:
1 edited

Legend:

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

    r6342 r6587  
    2929    // Set up and send the message
    3030    $to       = $ud->user_email;
    31     $sitename = wp_specialchars_decode( get_blog_option( bp_get_root_blog_id(), 'blogname' ), ENT_QUOTES );
     31    $sitename = bp_get_option( 'blogname', 'WordPress' );
    3232    $subject  = '[' . $sitename . '] ' . sprintf( __( 'New friendship request from %s', 'buddypress' ), $initiator_name );
    3333
     
    6868    // Set up and send the message
    6969    $to       = $ud->user_email;
    70     $sitename = wp_specialchars_decode( get_blog_option( bp_get_root_blog_id(), 'blogname' ), ENT_QUOTES );
     70    $sitename = bp_get_option( 'blogname', 'WordPress' );
    7171    $subject  = '[' . $sitename . '] ' . sprintf( __( '%s accepted your friendship request', 'buddypress' ), $friend_name );
    7272
Note: See TracChangeset for help on using the changeset viewer.