Ticket #14973: 14973-patch-new-about-page.patch
File 14973-patch-new-about-page.patch, 2.0 KB (added by , 10 years ago) |
---|
-
wp-admin/includes/upgrade.php
243 243 )); 244 244 245 245 // 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’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’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ña coladas. (And gettin’ 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>'); 247 247 if ( is_multisite() ) 248 248 $first_page = get_site_option( 'first_page', $first_page ); 249 249 $first_post_guid = get_option('home') . '/?page_id=2'; … … 253 253 'post_date_gmt' => $now_gmt, 254 254 'post_content' => $first_page, 255 255 'post_excerpt' => '', 256 'post_title' => __(' About'),256 'post_title' => __('Example About Page'), 257 257 /* translators: Default page slug */ 258 'post_name' => _x(' about', 'Default page slug'),258 'post_name' => _x('example-about-page', 'Default page slug'), 259 259 'post_modified' => $now, 260 260 'post_modified_gmt' => $now_gmt, 261 261 'guid' => $first_post_guid,