Make WordPress Core

Changeset 3232


Ignore:
Timestamp:
11/29/2005 02:47:31 AM (20 years ago)
Author:
ryan
Message:

Regenerate page rewrite rules after creating the first page during install.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/install.php

    r3173 r3232  
    172172
    173173$wpdb->query("INSERT INTO $wpdb->posts (post_author, post_date, post_date_gmt, post_content, post_title, post_category, post_name, post_modified, post_modified_gmt, post_status) VALUES ('1', '$now', '$now_gmt', '".$wpdb->escape(__('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.'))."', '".$wpdb->escape(__('About'))."', '0', '".$wpdb->escape(__('about'))."', '$now', '$now_gmt', 'static')");
     174generate_page_rewrite_rules();
    174175
    175176// Set up admin user
Note: See TracChangeset for help on using the changeset viewer.