Changeset 14705
- Timestamp:
- 05/16/2010 11:00:48 PM (14 years ago)
- Location:
- trunk/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/export.php
r14444 r14705 156 156 // mu: the base url 157 157 if ( isset( $current_site->domain ) ) 158 return 'http://' . $current_site->domain . $current_site->path;158 return network_home_url(); 159 159 // wp: the blog url 160 160 else -
trunk/wp-admin/includes/upgrade.php
r14596 r14705 199 199 $first_post = stripslashes( __( 'Welcome to <a href="SITE_URL">SITE_NAME</a>. This is your first post. Edit or delete it, then start blogging!' ) ); 200 200 201 $first_post = str_replace( "SITE_URL", esc_url( "http://" . $current_site->domain . $current_site->path), $first_post );201 $first_post = str_replace( "SITE_URL", esc_url( network_home_url() ), $first_post ); 202 202 $first_post = str_replace( "SITE_NAME", $current_site->site_name, $first_post ); 203 203 } else { … … 230 230 if ( is_multisite() ) { 231 231 $first_comment_author = get_site_option( 'first_comment_author', $first_comment_author ); 232 $first_comment_url = get_site_option( 'first_comment_url', 'http://' . $current_site->domain . $current_site->path);232 $first_comment_url = get_site_option( 'first_comment_url', network_home_url() ); 233 233 $first_comment = get_site_option( 'first_comment', $first_comment ); 234 234 }
Note: See TracChangeset
for help on using the changeset viewer.