Changeset 38814 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 10/19/2016 04:46:14 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r38591 r38814 162 162 163 163 $first_post = sprintf( $first_post, 164 sprintf( '<a href="%s">%s</a>', esc_url( network_home_url() ), get_ current_site()->site_name )164 sprintf( '<a href="%s">%s</a>', esc_url( network_home_url() ), get_network()->site_name ) 165 165 ); 166 166 167 167 // Back-compat for pre-4.4 168 168 $first_post = str_replace( 'SITE_URL', esc_url( network_home_url() ), $first_post ); 169 $first_post = str_replace( 'SITE_NAME', get_ current_site()->site_name, $first_post );169 $first_post = str_replace( 'SITE_NAME', get_network()->site_name, $first_post ); 170 170 } else { 171 171 $first_post = __( 'Welcome to WordPress. This is your first post. Edit or delete it, then start writing!' );
Note: See TracChangeset
for help on using the changeset viewer.