WordPress.org

Make WordPress Core

Ticket #34116: 34116.1.diff

File 34116.1.diff, 2.8 KB (added by Ipstenu, 3 years ago)

New sample about page, props WCNYC 2016

  • wp-admin/includes/upgrade.php

     
    214214        ));
    215215
    216216        // First Page
    217         $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:
     217        $first_page = sprintf( __( "This is a sample 'About' page. It's different from a blog post as pages are stand alone content that stay in their hierarchical place. In most themes, pages will show up in your site's navigation by default. Generally people start with a page that introduces them to site visitors.
    218218
    219 <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>
     219A personal blog might say something like this:
    220220
    221 ...or something like this:
     221<blockquote>Welcome to my blog! I'm a world traveler who works remotely and loves amazing food and the great outdoors. You can find me blogging about my adventures anywhere there's good wifi and strong coffee.</blockquote>
    222222
    223 <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>
     223... or a company could do something like this:
    224224
    225 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() );
     225<blockquote>Simply Shirts Company's founders realized a simple typeface could make shirts even better. After a successful crowdsourced campaign, we opened our store and now sell our Eco-friendly shirts worldwide via our website. If you wear shirts, you need ours.</blockquote>
     226
     227Now it's time to make your own page. Go to <a href=\"%s\">your dashboard</a> where you can delete this page and create new ones for your own unique content. Have fun!" ), admin_url() );
    226228        if ( is_multisite() )
    227229                $first_page = get_site_option( 'first_page', $first_page );
    228230        $first_post_guid = get_option('home') . '/?page_id=2';
     
    233235                'post_content' => $first_page,
    234236                'post_excerpt' => '',
    235237                'comment_status' => 'closed',
    236                 'post_title' => __( 'Sample Page' ),
     238                'post_title' => __( 'About Page' ),
    237239                /* translators: Default page slug */
    238                 'post_name' => __( 'sample-page' ),
     240                'post_name' => __( 'about-page' ),
    239241                'post_modified' => $now,
    240242                'post_modified_gmt' => $now_gmt,
    241243                'guid' => $first_post_guid,