Make WordPress Core


Ignore:
Timestamp:
01/04/2012 08:02:11 PM (14 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-admin/user-new.php

    r19674 r19676  
    8181Please click the following link to confirm the invite:
    8282%4$s' );
    83             wp_mail( $new_user_email, sprintf( __( '[%s] Joining confirmation' ), get_option( 'blogname' ) ), sprintf($message, get_option('blogname'), site_url(), $_REQUEST[ 'role' ], site_url("/newbloguser/$newuser_key/")));
     83            wp_mail( $new_user_email, sprintf( __( '[%s] Joining confirmation' ), get_option( 'blogname' ) ), sprintf($message, get_option('blogname'), home_url(), $_REQUEST[ 'role' ], home_url("/newbloguser/$newuser_key/")));
    8484            $redirect = add_query_arg( array('update' => 'add'), 'user-new.php' );
    8585        }
Note: See TracChangeset for help on using the changeset viewer.