Make WordPress Core


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.