Make WordPress Core

Ticket #28466: 28466.diff

File 28466.diff, 1.1 KB (added by iamfriendly, 12 years ago)

Remove unused variable in wpmu_signup_blog_notification()

  • wp-includes/ms-functions.php

    diff --git wp-includes/ms-functions.php wp-includes/ms-functions.php
    index 9166251..994220e 100644
    function wpmu_signup_blog_notification( $domain, $path, $title, $user, $user_ema 
    850850                 * @param array  $meta       By default, contains the requested privacy setting and lang_id.
    851851                 */
    852852                apply_filters( 'wpmu_signup_blog_notification_email',
    853                         __( "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" ),
     853                        __( "To activate your blog, please click the following link:\n\n%1$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%2$s" ),
    854854                        $domain, $path, $title, $user, $user_email, $key, $meta
    855855                ),
    856856                $activate_url,
    857                 esc_url( "http://{$domain}{$path}" ),
    858                 $key
     857                esc_url( "http://{$domain}{$path}" )
    859858        );
    860859        // TODO: Don't hard code activation link.
    861860        $subject = sprintf(