WordPress.org

Make WordPress Core

Ticket #11644: blog_to_site.patch

File blog_to_site.patch, 2.1 KB (added by dimadin, 10 years ago)
  • wp-admin/options-reading.php

     
    5454</tr>
    5555<?php endif; ?>
    5656<tr valign="top">
    57 <th scope="row"><label for="posts_per_page"><?php _e( 'Blog pages show at most' ); ?></label></th>
     57<th scope="row"><label for="posts_per_page"><?php _e( 'Site pages show at most' ); ?></label></th>
    5858<td>
    5959<input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> <?php _e( 'posts' ); ?>
    6060</td>
  • wp-includes/ms-functions.php

     
    688688                $admin_email = 'support@' . $_SERVER['SERVER_NAME'];
    689689        $from_name = get_site_option( 'site_name' ) == '' ? 'WordPress' : esc_html( get_site_option( 'site_name' ) );
    690690        $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 );
    692692        // TODO: Don't hard code activation link.
    693693        $subject = sprintf( apply_filters( 'wpmu_signup_blog_notification_subject', __( '[%1s] Activate %2s' ) ), $from_name, esc_url( 'http://' . $domain . $path ) );
    694694        wp_mail($user_email, $subject, $message, $message_headers);