Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/30/2010 03:57:44 PM (14 years ago)
Author:
boonebgorges
Message:

Replaces sprintf double quotes with single quotes to avoid substitution problems. Fixes #2983

File:
1 edited

Legend:

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

    r3592 r3614  
    231231    $from_name = ( '' == get_site_option( "site_name" ) ) ? 'WordPress' : esc_html( get_site_option( "site_name" ) );
    232232    $message_headers = "MIME-Version: 1.0\n" . "From: \"{$from_name}\" <{$admin_email}>\n" . "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n";
    233     $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 . $email, esc_url( "http://{$domain}{$path}" ) );
     233    $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 . $email, esc_url( "http://{$domain}{$path}" ) );
    234234    $subject = '[' . $from_name . '] ' . __( 'Activate Your Account', 'buddypress' );
    235235
Note: See TracChangeset for help on using the changeset viewer.