Ticket #34619: 34619.2.patch
| File 34619.2.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: %s: site name */ 161 __( 'Welcome to %s. This is your first post. Edit or delete it, then start writing!' ), 162 '<a href="' . esc_url( network_home_url() ) . '">' . get_current_site()->site_name . '</a>' 163 ); 164 } 160 165 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 166 } else { 164 167 $first_post = __( 'Welcome to WordPress. This is your first post. Edit or delete it, then start writing!' ); 165 168 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)