Make WordPress Core

Changeset 19674


Ignore:
Timestamp:
01/04/2012 07:29:03 PM (12 years ago)
Author:
ryan
Message:

Use home_url() instead of site_url(). Props johnbillion. fixes #18293

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-new.php

    r19596 r19674  
    2727
    2828Please click the following link to activate your user account:
    29 %%s' ), get_bloginfo('name'), site_url(), esc_html( $_REQUEST[ 'role' ] ) );
     29%%s' ), get_bloginfo('name'), home_url(), esc_html( $_REQUEST[ 'role' ] ) );
    3030    }
    3131    add_filter( 'wpmu_signup_user_notification_email', 'admin_created_user_email' );
  • trunk/wp-includes/ms-functions.php

    r19593 r19674  
    17351735
    17361736    if ( empty( $details ) || is_wp_error( add_existing_user_to_blog( $details ) ) )
    1737         wp_die( sprintf(__('An error occurred adding you to this site. Back to the <a href="%s">homepage</a>.'), site_url() ) );
    1738 
    1739     wp_die( sprintf(__('You have been added to this site. Please visit the <a href="%s">homepage</a> or <a href="%s">log in</a> using your username and password.'), site_url(), admin_url() ), __('Success') );
     1737        wp_die( sprintf(__('An error occurred adding you to this site. Back to the <a href="%s">homepage</a>.'), home_url() ) );
     1738
     1739    wp_die( sprintf(__('You have been added to this site. Please visit the <a href="%s">homepage</a> or <a href="%s">log in</a> using your username and password.'), home_url(), admin_url() ), __('Success') );
    17401740}
    17411741
Note: See TracChangeset for help on using the changeset viewer.