Ticket #31076: 31076.patch
| File 31076.patch, 2.7 KB (added by , 12 years ago) |
|---|
-
src/wp-includes/ms-functions.php
811 811 if ( !is_subdomain_install() || get_current_site()->id != 1 ) 812 812 $activate_url = network_site_url("wp-activate.php?key=$key"); 813 813 else 814 $activate_url = "http://{$domain}{$path}wp-activate.php?key=$key"; // @todo use *_url() API814 $activate_url = set_url_scheme( "http://{$domain}{$path}wp-activate.php?key=$key" ); // @todo use *_url() API 815 815 816 816 $activate_url = esc_url($activate_url); 817 817 $admin_email = get_site_option( 'admin_email' ); … … 841 841 $domain, $path, $title, $user, $user_email, $key, $meta 842 842 ), 843 843 $activate_url, 844 esc_url( "http://{$domain}{$path}"),844 esc_url( set_url_scheme( "http://{$domain}{$path}" ) ), 845 845 $key 846 846 ); 847 847 // TODO: Don't hard code activation link. -
src/wp-signup.php
370 370 * @param array $meta Any additional meta from the 'add_signup_meta' filter in validate_blog_signup() 371 371 */ 372 372 function confirm_another_blog_signup( $domain, $path, $blog_title, $user_name, $user_email = '', $meta = array() ) { 373 $blog_link = sprintf( '<a href="%s">%s</a>', set_url_scheme( "http://{$domain}{$path}" ), $blog_title ); 373 374 ?> 374 <h2><?php printf( __( 'The site %s is yours.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>") ?></h2>375 <h2><?php printf( __( 'The site %s is yours.' ), $blog_link ) ?></h2> 375 376 <p> 376 377 <?php printf( __( '<a href="http://%1$s">http://%2$s</a> is your new site. <a href="%3$s">Log in</a> as “%4$s” using your existing password.' ), $domain.$path, $domain.$path, "http://" . $domain.$path . "wp-login.php", $user_name ) ?> 377 378 </p> … … 622 623 * @param array $meta Any additional meta from the 'add_signup_meta' filter in validate_blog_signup() 623 624 */ 624 625 function confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $user_email = '', $meta = array() ) { 626 $blog_link = sprintf( '<a href="%s">%s</a>', set_url_scheme( "http://{$domain}{$path}" ), $blog_title ); 625 627 ?> 626 <h2><?php printf( __( 'Congratulations! Your new site, %s, is almost ready.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>") ?></h2>628 <h2><?php printf( __( 'Congratulations! Your new site, %s, is almost ready.' ), $blog_link ) ?></h2> 627 629 628 630 <p><?php _e( 'But, before you can start using your site, <strong>you must activate it</strong>.' ) ?></p> 629 631 <p><?php printf( __( 'Check your inbox at <strong>%s</strong> and click the link given.' ), $user_email) ?></p>
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)