WordPress.org

Make WordPress Core

Ticket #40895: 40895.diff

File 40895.diff, 2.2 KB (added by swissspidy, 2 years ago)
  • src/wp-admin/includes/upgrade.php

    diff --git src/wp-admin/includes/upgrade.php src/wp-admin/includes/upgrade.php
    index 94ad771761..7731eb1e46 100644
    Commenter avatars come from <a href="https://gravatar.com">Gravatar</a>.' ); 
    218218        ));
    219219
    220220        // First Page
    221         if ( is_multisite() )
     221        if ( is_multisite() ) {
    222222                $first_page = get_site_option( 'first_page' );
     223        }
    223224
    224225        $first_page = ! empty( $first_page ) ? $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:
    225                
    226                 <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>
    227                
    228                 ...or something like this:
    229                
    230                 <blockquote>The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.</blockquote>
    231                
    232                 As a new WordPress user, you should go to <a href=\"%s\">your dashboard</a> to delete this page and create new pages for your content. Have fun!" ), admin_url() );
     226
     227<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>
     228
     229...or something like this:
     230
     231<blockquote>The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.</blockquote>
     232
     233As a new WordPress user, you should go to <a href=\"%s\">your dashboard</a> to delete this page and create new pages for your content. Have fun!" ), admin_url() );
    233234
    234235        $first_post_guid = get_option('home') . '/?page_id=2';
    235236        $wpdb->insert( $wpdb->posts, array(