diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index fc7aba9714..b2a7e4b7cb 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -264,6 +264,7 @@ function wp_install_defaults($user_id) { 'pinged' => '', 'post_content_filtered' => '' )); + $wpdb->insert( $wpdb->postmeta, array( 'post_id' => 2, 'meta_key' => '_wp_page_template', 'meta_value' => 'default' ) ); // Setup default widgets for default theme. update_option( 'widget_search', array ( 2 => array ( 'title' => '' ), '_multiwidget' => 1 ) );