From ccbf5061c9d655460cca1fadb2141ff6eece1ed7 Mon Sep 17 00:00:00 2001 From: westi Date: Wed, 18 Nov 2009 22:45:24 +0000 Subject: [PATCH] First pass first post improvements. See #11008 props demetris. git-svn-id: http://svn.automattic.com/wordpress/trunk@12212 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/upgrade.php | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index 06c0ff894..7b018a961 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -162,11 +162,34 @@ function wp_install_defaults($user_id) { 'post_author' => $user_id, 'post_date' => $now, 'post_date_gmt' => $now_gmt, - 'post_content' => __('Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!'), + 'post_content' => sprintf(__(' +

Welcome to WordPress! This post contains important information. After you read it, you can make it private to hide it from visitors but still have the information handy for future reference.

+

First things first:

+ +

As a subscriber, you will receive an email every time an update is available (and only then). This will make it easier to keep your site up to date, and secure from evildoers. +When a new version is released, log in to the Dashboard and follow the instructions. +Upgrading is a couple of clicks!

+

Then you can start enjoying the WordPress experience:

+ +

To keep this post for reference, click to edit it, go to the Publish box and change its Visibility from Public to Private.

+

Thank you for selecting WordPress. We wish you happy publishing!

+

PS. Not yet subscribed for update notifications? Do it now!

+'), _c('http://wordpress.org/download/','url for release notification mailing list subscription.'), admin_url(''), admin_url('profile.php'), admin_url('post-new.php'), admin_url('page-new.php'), +admin_url('plugin-install.php'), admin_url('theme-install.php'), admin_url('options-permalink.php'), admin_url('import.php'), _c('http://codex.wordpress.org','url for codex documentation.'), admin_url('post.php?action=edit&post=1')), 'post_excerpt' => '', - 'post_title' => __('Hello world!'), + 'post_title' => __('Welcome!'), /* translators: Default post slug */ - 'post_name' => _x('hello-world', 'Default post slug'), + 'post_name' => _x('welcome', 'Default post slug'), 'post_modified' => $now, 'post_modified_gmt' => $now_gmt, 'guid' => $first_post_guid,