Ticket #34116: 34116.1.diff
File 34116.1.diff, 2.8 KB (added by , 9 years ago) |
---|
-
wp-admin/includes/upgrade.php
214 214 )); 215 215 216 216 // First Page 217 $first_page = sprintf( __( "This is a n 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. 218 218 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ña coladas. (And gettin' caught in the rain.)</blockquote> 219 A personal blog might say something like this: 220 220 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> 222 222 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: 224 224 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 227 Now 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() ); 226 228 if ( is_multisite() ) 227 229 $first_page = get_site_option( 'first_page', $first_page ); 228 230 $first_post_guid = get_option('home') . '/?page_id=2'; … … 233 235 'post_content' => $first_page, 234 236 'post_excerpt' => '', 235 237 'comment_status' => 'closed', 236 'post_title' => __( ' SamplePage' ),238 'post_title' => __( 'About Page' ), 237 239 /* translators: Default page slug */ 238 'post_name' => __( ' sample-page' ),240 'post_name' => __( 'about-page' ), 239 241 'post_modified' => $now, 240 242 'post_modified_gmt' => $now_gmt, 241 243 'guid' => $first_post_guid,