Skip to:
Content

BuddyPress.org

Changeset 3692


Ignore:
Timestamp:
01/09/2011 10:18:00 PM (14 years ago)
Author:
djpaul
Message:

Use esc_html instead of wp_specialchars. Also adds missing gettext call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-signup.php

    r3691 r3692  
    583583    $activate_url = esc_url( $activate_url );
    584584   
    585     $from_name = ( '' == get_option( 'blogname' ) ) ? 'BuddyPress' : wp_specialchars( get_option( 'blogname' ) );
     585    $from_name = ( '' == get_option( 'blogname' ) ) ? __( 'BuddyPress', 'buddypress' ) : esc_html( get_option( 'blogname' ) );
    586586   
    587587    $message = sprintf( __( "Thanks for registering! To complete the activation of your account please click the following link:\n\n%s\n\n", 'buddypress' ), $activate_url );
Note: See TracChangeset for help on using the changeset viewer.