Ticket #11644: blog_to_site.patch
File blog_to_site.patch, 2.1 KB (added by , 15 years ago) |
---|
-
wp-admin/options-reading.php
54 54 </tr> 55 55 <?php endif; ?> 56 56 <tr valign="top"> 57 <th scope="row"><label for="posts_per_page"><?php _e( ' Blogpages show at most' ); ?></label></th>57 <th scope="row"><label for="posts_per_page"><?php _e( 'Site pages show at most' ); ?></label></th> 58 58 <td> 59 59 <input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> <?php _e( 'posts' ); ?> 60 60 </td> -
wp-includes/ms-functions.php
688 688 $admin_email = 'support@' . $_SERVER['SERVER_NAME']; 689 689 $from_name = get_site_option( 'site_name' ) == '' ? 'WordPress' : esc_html( get_site_option( 'site_name' ) ); 690 690 $message_headers = "From: \"{$from_name}\" <{$admin_email}>\n" . "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n"; 691 $message = sprintf( apply_filters( 'wpmu_signup_blog_notification_email', __( "To activate your blog, please click the following link:\n\n%s\n\nAfter you activate, you will receive *another email* with your login.\n\nAfter you activate, you can visit your site here:\n\n%s" ) ), $activate_url, esc_url( "http://{$domain}{$path}" ), $key );691 $message = sprintf( apply_filters( 'wpmu_signup_blog_notification_email', __( "To activate your site, please click the following link:\n\n%s\n\nAfter you activate, you will receive *another email* with your login.\n\nAfter you activate, you can visit your site here:\n\n%s" ) ), $activate_url, esc_url( "http://{$domain}{$path}" ), $key ); 692 692 // TODO: Don't hard code activation link. 693 693 $subject = sprintf( apply_filters( 'wpmu_signup_blog_notification_subject', __( '[%1s] Activate %2s' ) ), $from_name, esc_url( 'http://' . $domain . $path ) ); 694 694 wp_mail($user_email, $subject, $message, $message_headers);