Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/07/2010 12:24:39 AM (14 years ago)
Author:
djpaul
Message:

Use esc_html() instead of deprecated wp_specialchars()

File:
1 edited

Legend:

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

    r3369 r3370  
    610610        $admin_email = 'noreply@' . $_SERVER['SERVER_NAME'];
    611611
    612     $from_name = ( '' == get_option( 'blogname' ) ) ? 'BuddyPress' : wp_specialchars( get_option( 'blogname' ) );
     612    $from_name = ( '' == get_option( 'blogname' ) ) ? 'BuddyPress' : esc_html( get_option( 'blogname' ) );
    613613    $message_headers = "MIME-Version: 1.0\n" . "From: \"{$from_name}\" <{$admin_email}>\n" . "Content-Type: text/plain; charset=\"" . get_option( 'blog_charset' ) . "\"\n";
    614614    $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.