Make WordPress Core

Ticket #11008: t11008-hello-world-r007.diff

File t11008-hello-world-r007.diff, 3.7 KB (added by demetris, 15 years ago)

New Hello World! post for 2.9, revision 7

  • wp-admin/includes/upgrade.php

     
    162162                                                                'post_author' => $user_id,
    163163                                                                'post_date' => $now,
    164164                                                                'post_date_gmt' => $now_gmt,
    165                                                                 'post_content' => __('Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!'),
     165                                                                'post_content' => sprintf(__('
     166<p>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.</p>
     167<p>First things first:</p>
     168<ul>
     169<li><a href="http://wordpress.org/download/" title="Subscribe to the WordPress mailing list for Release Notifications">Subscribe to the WordPress mailing list for release notifications</a></li>
     170</ul>
     171<p>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, <a href="%1$s/wp-admin/" title="If you are already logged in, this will take you directly to the Dashboard">log in to the Dashboard</a> and follow the instructions.  Upgrading is a couple of clicks!</p>
     172<p>Then you can start enjoying the WordPress experience:</p>
     173<ul>
     174<li>Edit your personal information at <a href="%1$s/wp-admin/profile.php" title="Edit settings like your password, your display name and your contact information">Users &#8250; Your Profile</a></li>
     175<li>Start publishing at <a href="%1$s/wp-admin/post-new.php" title="Create a new post">Posts &#8250; Add New</a> and at <a href="%1$s/wp-admin/post-new.php" title="Create a new page">Pages &#8250; Add New</a></li>
     176<li>Browse and install plugins at <a href="%1$s/wp-admin/plugin-install.php" title="Browse and install plugins at the official WordPress repository directly from your Dashboard">Plugins &#8250; Add New</a></li>
     177<li>Browse and install themes at <a href="%1$s/wp-admin/theme-install.php" title="Browse and install themes at the official WordPress repository directly from your Dashboard">Appearance &#8250; Add New Themes</a></li>
     178<li>Modify and prettify your website&#8217;s links at <a href="%1$s/wp-admin/options-permalink.php" title="For example, select a link structure like: http://example.com/1999/12/post-name">Settings &#8250; Permalinks</a></li>
     179<li>Import content from another system or WordPress site at <a href="%1$s/wp-admin/import.php" title="WordPress comes with importers for the most common publishing systems">Tools &#8250; Import</a></li>
     180<li>Find answers to your questions at the <a href="http://codex.wordpress.org/" title="The official WordPress documentation, maintained by the WordPress community">WordPress Codex</a></li>
     181</ul>
     182<p>To keep this post for reference, <a href="%1$s/wp-admin/post.php?action=edit&post=1" title="Click to edit the content and settings of this post">click to edit it</a>, go to the Publish box and change its Visibility from Public to Private.</p>
     183<p>Thank you for selecting WordPress.  We wish you happy publishing!</p>
     184<p>PS.  Not yet subscribed for update notifications?  <a href="http://wordpress.org/download/" title="Subscribe to the WordPress mailing list for Release Notifications">Do it now!</a></p>
     185                                                                '), get_bloginfo('wpurl')),
    166186                                                                'post_excerpt' => '',
    167                                                                 'post_title' => __('Hello world!'),
     187                                                                'post_title' => __('Welcome!'),
    168188                                                                /* translators: Default post slug */
    169                                                                 'post_name' => _x('hello-world', 'Default post slug'),
     189                                                                'post_name' => _x('welcome', 'Default post slug'),
    170190                                                                'post_modified' => $now,
    171191                                                                'post_modified_gmt' => $now_gmt,
    172192                                                                'guid' => $first_post_guid,