Make WordPress Core

Ticket #22474: 22474.2.patch

File 22474.2.patch, 2.5 KB (added by chriscct7, 10 years ago)
  • wp-admin/includes/upgrade.php

     
    152152                $first_post = get_site_option( 'first_post' );
    153153
    154154                if ( empty($first_post) )
    155                         $first_post = __( 'Welcome to <a href="SITE_URL">SITE_NAME</a>. This is your first post. Edit or delete it, then start blogging!' );
     155                        $first_post = __( 'Welcome to <a href="SITE_URL">SITE_NAME</a>. This is your first post. Edit or delete it, then start writing!' );
    156156
    157157                $first_post = str_replace( "SITE_URL", esc_url( network_home_url() ), $first_post );
    158158                $first_post = str_replace( "SITE_NAME", get_current_site()->site_name, $first_post );
    159159        } else {
    160                 $first_post = __('Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!');
     160                $first_post = __('Welcome to WordPress. This is your first post. Edit or delete it, then start writing!');
    161161        }
    162162
    163163        $wpdb->insert( $wpdb->posts, array(
     
    166166                                                                'post_date_gmt' => $now_gmt,
    167167                                                                'post_content' => $first_post,
    168168                                                                'post_excerpt' => '',
    169                                                                 'post_title' => __('Hello world!'),
     169                                                                'post_title' => __('Hello, World!'),
    170170                                                                /* translators: Default post slug */
    171171                                                                'post_name' => sanitize_title( _x('hello-world', 'Default post slug') ),
    172172                                                                'post_modified' => $now,
     
    200200                                                                ));
    201201
    202202        // First Page
    203         $first_page = sprintf( __( "This is an example page. It's different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:
     203        $first_page = sprintf( __( "This is an example page. It's different from a post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:
    204204
    205 <blockquote>Hi there! I'm a bike messenger by day, aspiring actor by night, and this is my blog. I live in Los Angeles, have a great dog named Jack, and I like pi&#241;a coladas. (And gettin' caught in the rain.)</blockquote>
     205<blockquote>Hi there! I'm a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like pi&#241;a coladas. (And gettin' caught in the rain.)</blockquote>
    206206
    207207...or something like this:
    208208