Make WordPress Core

Changeset 15289


Ignore:
Timestamp:
06/20/2010 04:11:46 AM (14 years ago)
Author:
dd32
Message:

Fix typo in wpmu_signup_blog_notification() and wpmu_signup_user_notification(). Props mdawaffe. Fixes #14002 for 3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-includes/ms-functions.php

    r15186 r15289  
    653653    $message = sprintf( apply_filters( 'wpmu_signup_blog_notification_email', __( "To activate your blog, please click the following link:\n\n%s\n\nAfter you activate, you will receive *another email* with your login.\n\nAfter you activate, you can visit your site here:\n\n%s" ) ), $activate_url, esc_url( "http://{$domain}{$path}" ), $key );
    654654    // TODO: Don't hard code activation link.
    655     $subject = sprintf( apply_filters( 'wpmu_signup_blog_notification_subject', __( '[%1s] Activate %2s' ) ), $from_name, esc_url( 'http://' . $domain . $path ) );
     655    $subject = sprintf( apply_filters( 'wpmu_signup_blog_notification_subject', __( '[%1$s] Activate %2$s' ) ), $from_name, esc_url( 'http://' . $domain . $path ) );
    656656    wp_mail($user_email, $subject, $message, $message_headers);
    657657    return true;
     
    670670    $message = sprintf( apply_filters( 'wpmu_signup_user_notification_email', __( "To activate your user, please click the following link:\n\n%s\n\nAfter you activate, you will receive *another email* with your login.\n\n" ) ), site_url( "wp-activate.php?key=$key" ), $key );
    671671    // TODO: Don't hard code activation link.
    672     $subject = sprintf( __( apply_filters( 'wpmu_signup_user_notification_subject', '[%1s] Activate %2s' ) ), $from_name, $user);
     672    $subject = sprintf( __( apply_filters( 'wpmu_signup_user_notification_subject', '[%1$s] Activate %2$s' ) ), $from_name, $user);
    673673    wp_mail($user_email, $subject, $message, $message_headers);
    674674    return true;
Note: See TracChangeset for help on using the changeset viewer.