WordPress.org

Make WordPress Core

Ticket #14973: 14973-patch-new-about-page.patch

File 14973-patch-new-about-page.patch, 2.0 KB (added by studionashvegas, 3 years ago)

UPDATED Patch with correct word for piña :)

  • wp-admin/includes/upgrade.php

     
    243243                                                                )); 
    244244 
    245245        // First Page 
    246         $first_page = __('This is an example of a WordPress page. You could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many pages like this one or sub-pages as you like and manage all of your content inside of WordPress.'); 
     246        $first_page = __('<p>This is an example page. It&#8217;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:</p><blockquote>Hi there! I&#8217;m a bike messenger by day, aspiring actor by night, and this is my blog. I live in Los Angeles&#8218; have a great dog named Jack, and I like pi&#241;a coladas. (And gettin&#8217; caught in the rain.)</blockquote><p>…or something like this:</p><blockquote>The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickies 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>'); 
    247247        if ( is_multisite() ) 
    248248                $first_page = get_site_option( 'first_page', $first_page ); 
    249249        $first_post_guid = get_option('home') . '/?page_id=2'; 
     
    253253                                                                'post_date_gmt' => $now_gmt, 
    254254                                                                'post_content' => $first_page, 
    255255                                                                'post_excerpt' => '', 
    256                                                                 'post_title' => __('About'), 
     256                                                                'post_title' => __('Example About Page'), 
    257257                                                                /* translators: Default page slug */ 
    258                                                                 'post_name' => _x('about', 'Default page slug'), 
     258                                                                'post_name' => _x('example-about-page', 'Default page slug'), 
    259259                                                                'post_modified' => $now, 
    260260                                                                'post_modified_gmt' => $now_gmt, 
    261261                                                                'guid' => $first_post_guid,