Make WordPress Core


Ignore:
Timestamp:
12/09/2010 01:20:40 PM (14 years ago)
Author:
nacin
Message:

Example About Page. props jane, studionashvegas. fixes #14973.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upgrade.php

    r16696 r16835  
    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 = 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:
     247
     248<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>
     249
     250...or something like this:
     251
     252<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>
     253
     254As 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() );
    247255    if ( is_multisite() )
    248256        $first_page = get_site_option( 'first_page', $first_page );
     
    254262                                'post_content' => $first_page,
    255263                                'post_excerpt' => '',
    256                                 'post_title' => __('About'),
     264                                'post_title' => __( 'Example About Page' ),
    257265                                /* translators: Default page slug */
    258                                 'post_name' => _x('about', 'Default page slug'),
     266                                'post_name' => __( 'example-about-page' ),
    259267                                'post_modified' => $now,
    260268                                'post_modified_gmt' => $now_gmt,
Note: See TracChangeset for help on using the changeset viewer.