Ticket #34619: 34619.patch
| File 34619.patch, 1.1 KB (added by , 11 years ago) |
|---|
-
wp-admin/includes/upgrade.php
155 155 if ( is_multisite() ) { 156 156 $first_post = get_site_option( 'first_post' ); 157 157 158 if ( empty($first_post) ) 159 $first_post = __( 'Welcome to <a href="SITE_URL">SITE_NAME</a>. This is your first post. Edit or delete it, then start writing!' ); 158 if ( empty($first_post) ) { 159 $first_post = sprintf( 160 /* translators: 1: site URL 2: site name */ 161 __( 'Welcome to <a href="%1$s">%2$s</a>. This is your first post. Edit or delete it, then start writing!' ), 162 esc_url( network_home_url() ), 163 get_current_site()->site_name 164 ); 165 } 160 166 161 $first_post = str_replace( "SITE_URL", esc_url( network_home_url() ), $first_post );162 $first_post = str_replace( "SITE_NAME", get_current_site()->site_name, $first_post );163 167 } else { 164 168 $first_post = __( 'Welcome to WordPress. This is your first post. Edit or delete it, then start writing!' ); 165 169 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)